Description
wp-admin/options.php in WordPress MU before 1.3.2, and WordPress 2.3.2 and earlier, does not properly validate requests to update an option, which allows remote authenticated users with manage_options and upload_files capabilities to execute arbitrary code by uploading a PHP script and adding this script's pathname to active_plugins.
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.3.2 | — |
| Debian 13 | wordpress | 2.3.2 | — |
| Debian 12 | wordpress | 2.3.2 | — |
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 MU < 1.3.2 - 'active_plugins' Code Execution EDB-5066 · webapps · Feb 5, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 4798 third-party-advisory
- 27633 vdb-entry
- 5066 exploit
- http://www.buayacorp.com/files/wordpress/wp-blog-option-overwrite.txt
- 28789 third-party-advisory
- http://www.buayacorp.com/files/wordpress/wordpress-mu-options-overwrite.html
- http://mu.wordpress.org/forums/topic.php?id=7534&page&replies=1