CVE-2015-2213 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands via mishandled trashed comments, 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-2015-2213?

CVE-2015-2213 is a high-severity SQL injection vulnerability in Wordpress Wordpress, published on 9 Nov 2015. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection vulnerability in the wp_untrash_post_comments function in wp-includes/post.php in WordPress before 4.2.4 allows remote attackers to execute arbitrary SQL commands via a comment that is mishandled after retrieval from the trash.

Weakness: CWE-89

Which versions are affected by CVE-2015-2213?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2015-2213?

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-2015-2213 being exploited?

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

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-2213, GHSA-qq9g-jv5w-jh6w.

Is CVE-2015-2213 in your software?

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

Check your SBOMs for free