CVE-2022-21643 SQL Injection in USOC

Critical 10.0 Published Updated

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.

Sources

Also known as GHSA-fjp4-phjh-jgmc.

Is CVE-2022-21643 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free