Description
Cross-site scripting (XSS) vulnerability in wp-admin/templates.php in WordPress 2.0.5 allows remote attackers to inject arbitrary web script or HTML via the file parameter. NOTE: some sources have reported this as a vulnerability in the get_file_description function in wp-admin/admin-functions.php.
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.0.6-1 | — |
| Debian 13 | wordpress | 2.0.6-1 | — |
| Debian 12 | wordpress | 2.0.6-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 1.x/2.0.x - 'template.php' HTML Injection EDB-29356 · webapps · Dec 27, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- ADV-2006-5191 vdb-entry
- 23587 third-party-advisory
- 23741 third-party-advisory
- http://trac.wordpress.org/changeset/4665
- GLSA-200701-10 vendor-advisory
- 21782 vdb-entry
- 20061227 WordPress Persistent XSS mailing-list
- wordpress-getfiledescription-xss(31133) vdb-entry
- http://michaeldaw.org/