CVE-2022-29904 SQL injection in n/a
Attackers can execute arbitrary SQL commands via crafted constraints in the SemanticDrilldown extension, potentially compromising database integrity.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-29904?
CVE-2022-29904 is a critical SQL injection vulnerability in Mediawiki Mediawiki, published on 29 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQL injection with certain '-' and '_' constraints.
Weakness: CWE-89
Which versions are affected by CVE-2022-29904?
1 open source package ship an affected version, including mediawiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki Bitnami | All versions | 1.37.3 |
Products include Mediawiki Mediawiki.
How do I fix CVE-2022-29904?
Upgrade mediawiki to 1.37.3 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-2022-29904 being exploited?
There is no known exploitation of CVE-2022-29904 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as BIT-mediawiki-2022-29904, GHSA-j3c3-76w9-jg8q.