CVE-2022-21643 SQL Injection in USOC
Attackers can execute arbitrary SQL commands via unsanitized input in the registration form, potentially compromising the database.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-21643?
CVE-2022-21643 is a critical SQL injection vulnerability in Aaron-Junker USOC, published on 4 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
USOC is an open source CMS with a focus on simplicity. In affected versions USOC allows for SQL injection via register.php. In particular usernames, email addresses, and passwords provided by the user were not sanitized and were used directly to construct a sql statement. Users are advised to upgrade as soon as possible. There are not workarounds for this issue.
Weakness: CWE-89
Which versions are affected by CVE-2022-21643?
It affects 1 product.
Products include Useful Simple Open-Source Cms Project Useful Simple Open-Source Cms.
How do I fix CVE-2022-21643?
No fix has been published for CVE-2022-21643 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-21643 being exploited?
There is no known exploitation of CVE-2022-21643 in the wild and no public exploit code.
Other vulnerabilities in Aaron-Junker USOC
Sources
Also known as GHSA-fjp4-phjh-jgmc.