Description
TimThumb (timthumb.php) before 2.0 does not validate the entire source with the domain white list, which allows remote attackers to upload and execute arbitrary code via a URL containing a white-listed domain in the src parameter, then accessing it via a direct request to the file in the cache directory, as exploited in the wild in August 2011.
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 2
- Multiple WordPress Plugins - 'timthumb.php' File Upload EDB-17872 · webapps · Sep 19, 2011
- WordPress Plugin TimThumb 1.32 - Remote Code Execution EDB-17602 · webapps · Aug 3, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 17872 exploit
- http://www.binarymoon.co.uk/2011/08/timthumb-2/
- http://markmaunder.com/2011/08/02/technical-details-and-scripts-of-the-wordpress-timthumb-php-hack/
- [oss-security] 20111103 Re: CVE request: wordpress plugin timthumb before 2.0 remote code execution mailing-list
- 17602 exploit
- http://code.google.com/p/timthumb/issues/detail?id=212
- http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/