CVE-2022-21666: USOC - SQL Injection
- Cve: CVE-2022-21666
- Name: USOC - SQL Injection
- Description: Useful Simple Open-Source CMS (USOC) is a content management system (CMS) for programmers. Versions prior to Pb2.4Bfx3 allowed Sql injection in usersearch.php only for users with administrative privileges. Users should replace the file `admin/pages/useredit.php` with a newer version. USOC version Pb2.4Bfx3 contains a fixed version of `admin/pages/useredit.php`.
- Impact: Attackers with admin privileges can execute arbitrary SQL commands, potentially leading to data theft or modification.
- Remediation: Replace `admin/pages/useredit.php` with the fixed version provided in Pb2.4Bfx3.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure
- Requirement type: admin_privileges
- Requirements: Attacker needs administrative privileges
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01232
- Epss percentile: 0.69586
- Assignee: [email protected]
- Published at: 2022-01-10T20:15:08Z
- Age in days: 1779
- Modified at: 2026-06-17T04:26:43Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-21666
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/Aaron-Junker/USOC/commit/c331d26aaab41a7e9e8c1c1a990132dca9d01e10 | Patch, Third Party Advisory |
| https://github.com/Aaron-Junker/USOC/releases/tag/Pb2.4Bfx3 | Release Notes, Third Party Advisory |
| https://github.com/Aaron-Junker/USOC/security/advisories/GHSA-557p-hhpc-4wrx | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| useful_simple_open-source_cms_project:useful_simple_open-source_cms | < pb2.4bfx3 | no | nvd | /v1/products/useful_simple_open-source_cms_project/useful_simple_open-source_cms |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| aaron-junker/usoc | commit, releases, security_advisory | yes | /v1/repositories/aaron-junker/usoc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts