Description
SQL injection vulnerability in xmlrpc (xmlrpc.php) in WordPress 2.1.2, and probably earlier, allows remote authenticated users to execute arbitrary SQL commands via a string parameter value in an XML RPC mt.setPostCategories method call, related to the post_id variable.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | wordpress | 2.1.3-1 | — |
| Debian 13 | wordpress | 2.1.3-1 | — |
| Debian 12 | wordpress | 2.1.3-1 | — |
| Debian 4.0 | wordpress | 2.0.10-1 | DSA-1285-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- WordPress Core 2.1.2 - 'xmlrpc' SQL Injection EDB-3656 · webapps · Apr 3, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1285-1 wordpress Debian Security (DSA / DLA) · Mar 9, 2026
References
- 3656 exploit
- ADV-2007-1245 vdb-entry
- 25108 third-party-advisory
- http://trac.wordpress.org/ticket/4091
- http://www.notsosecure.com/folder2/2007/04/03/wordpress-212-xmlrpc-security-issues/
- 24751 third-party-advisory
- 23294 vdb-entry
- DSA-1285 vendor-advisory