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.
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.2-1 | — |
| Debian 13 | wordpress | 2.2-1 | — |
| Debian 12 | wordpress | 2.2-1 | — |
| Debian 4.0 | wordpress | 2.0.10-1etch1 | DSA-1502-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.3 - 'admin-ajax.php' SQL Injection Blind Fishing EDB-3960 · webapps · May 21, 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-1502-1 wordpress - multiple vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1502 vendor-advisory
- 3960 exploit
- 24076 vdb-entry
- 25345 third-party-advisory
- wordpress-adminajax-sql-injection(34399) vdb-entry
- ADV-2007-1889 vdb-entry
- http://www.waraxe.us/advisory-50.html
- 20070521 [waraxe-2007-SA#050] - Sql Injection in WordPress 2.1.3 mailing-list
- 29014 third-party-advisory
- 36311 vdb-entry