Arbitrary file upload Binarymoon TimThumb

Published: 2011-08-01 | Updated: 2017-03-14
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2011-4106
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Web applications / Modules and components for CMS

Vendor TimThumb

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) Arbitrary file upload


Risk: Critical

CVSSv3.1: 9.3 [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]

CVE-ID: CVE-2011-4106

CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type

Exploit availability: Yes


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.


Update to version 2.0.

Vulnerable software versions

TimThumb: 1.99

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.