CVE-2007-2821 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the cookie parameter in WordPress admin-ajax.php, 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-2007-2821?
CVE-2007-2821 is a high-severity SQL injection vulnerability in Wordpress Wordpress, published on 22 May 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in wp-admin/admin-ajax.php in WordPress before 2.2 allows remote attackers to execute arbitrary SQL commands via the cookie parameter.
Which versions are affected by CVE-2007-2821?
It affects 1 product.
Products include Wordpress Wordpress.
How do I fix CVE-2007-2821?
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-2821 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2821 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as DEBIAN-CVE-2007-2821, GHSA-v43p-v75m-q643.