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: 9.3 [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]
CVE-ID: CVE-2011-4106
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

TimThumb

How to mitigate CVE-2011-4106

Update to version 2.0.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins