Arbitrary file upload in TimThumb - CVE-2011-4106

 

Arbitrary file upload in TimThumb - CVE-2011-4106

Published: December 29, 2016 / Updated: March 14, 2017


Vulnerability identifier: #VU3035
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2011-4106
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: TimThumb
Affected software:
TimThumb

Detailed vulnerability 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.


How to mitigate CVE-2011-4106

Update to version 2.0.

Sources