CVE-2007-0233 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the tb_id parameter in WordPress trackback handling due to improper variable unsetting.
- 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-0233?
CVE-2007-0233 is a high-severity SQL injection vulnerability in Wordpress Wordpress, published on 13 Jan 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
wp-trackback.php in WordPress 2.0.6 and earlier does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary SQL commands via the tb_id parameter. NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in WordPress.
Which versions are affected by CVE-2007-0233?
It affects 1 product.
Products include Wordpress Wordpress.
How do I fix CVE-2007-0233?
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-0233 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-0233 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as DEBIAN-CVE-2007-0233, GHSA-5cxh-jpqc-mfx2.