CVE-2024-47849 Backticks can allow the usage of not-allowed SQL functions

High 8.8 Published Updated

Attackers can inject SQL commands via backticks in the MediaWiki Cargo extension, potentially reading or modifying database content.

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-2024-47849?

CVE-2024-47849 is a high-severity SQL injection vulnerability in The Wikimedia Foundation Mediawiki - Cargo, published on 5 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foundation Mediawiki - Cargo allows SQL Injection.This issue affects Mediawiki - Cargo: from 3.6.X before 3.6.1.

Weakness: CWE-89

Which versions are affected by CVE-2024-47849?

It affects 1 product.

Products include Mediawiki Cargo.

How do I fix CVE-2024-47849?

No fix has been published for CVE-2024-47849 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-2024-47849 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47849 exists.

Sources

Also known as GHSA-q7xp-xjgh-vpm7.

Is CVE-2024-47849 in your software?

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

Check your SBOMs for free