The exploit was announced by Mark Maunder.
Vulnerability details
Advisory: SB2011080101 - Arbitrary file upload Binarymoon TimThumb
Vulnerable component: TimThumb
CVE-ID: CVE-2011-4106
CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C
CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type
Description:
The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.
The vulnerability exists due to improper storing of content in the cache directory when processing input. A remote attacker can send a specially crafted HTTP request containing a white-listed domain in the src parameter, upload a malicious PHP script and execute arbitrary PHP code.
Successful exploitation of the vulnerability may allow an attacker to execute arbitrary PHP code on the vulnerable system.
Note: the vulnerability was being actively exploited.
Public Exploits:
- Multiple WordPress Plugins - 'timthumb.php' File Upload [Exploit-DB]
- WordPress Plugin TimThumb 1.32 - Remote Code Execution [Exploit-DB]
External links:
http://www.openwall.com/lists/oss-security/2011/11/03/4
https://www.binarymoon.co.uk/2011/08/timthumb-2/
http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/
http://markmaunder.com/2011/08/02/technical-details-and-scripts-of-the-wordpress-timthumb-php-hack/
https://www.binarymoon.co.uk/2011/08/timthumb-2/
https://www.heise.de/security/meldung/Tausende-WordPress-Blogs-zur-Verbreitung-von-Schadcode-genutzt...
https://www.malwareremovalservice.com/cve-2011-4106/