CVE-2021-43091 SQL Injection in Yeswiki

High 7.5 Published Updated

An attacker can execute arbitrary SQL commands via the email parameter in the registration form of Yeswiki doryphore.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-43091?

CVE-2021-43091 is a high-severity SQL injection vulnerability in n/a, published on 25 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An SQL Injection vlnerability exits in Yeswiki doryphore 20211012 via the email parameter in the registration form.

Weakness: CWE-89

Which versions are affected by CVE-2021-43091?

2 open source packages ship an affected version, including yeswiki/yeswiki. It affects 1 product.

PackageAffectedFixed in
yeswiki/yeswiki PackagistAll versions4.1.0
yeswiki/yeswiki PackagistAll versions4.1.0

Products include Yeswiki Yeswiki.

How do I fix CVE-2021-43091?

Upgrade yeswiki/yeswiki to 4.1.0 or later.

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-2021-43091 being exploited?

There is no known exploitation of CVE-2021-43091 in the wild and no public exploit code.

Sources

Also known as GHSA-xgx2-332h-9x6q.

Is CVE-2021-43091 in your software?

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

Check your SBOMs for free