CVE-2007-3140 SQL injection in n/a

Medium 6.5 Published Updated

Authenticated attackers can execute arbitrary SQL commands via XML-RPC in WordPress, potentially compromising database integrity and confidentiality.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-3140?

CVE-2007-3140 is a medium-severity SQL injection vulnerability in Wordpress Wordpress, published on 8 Jun 2007. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection vulnerability in xmlrpc.php in WordPress 2.2 allows remote authenticated users to execute arbitrary SQL commands via a parameter value in an XML RPC wp.suggestCategories methodCall, a different vector than CVE-2007-1897.

Which versions are affected by CVE-2007-3140?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2007-3140?

Upgrade to a fixed version.

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-2007-3140 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-3140, GHSA-m425-pqwf-xvhx.

Is CVE-2007-3140 in your software?

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

Check your SBOMs for free