CVE-2011-4106

EXPLOITED IN THE WILD

TimThumb < 2.0 - Remote Code Execution via Domain Whitelist Bypass

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2011-4106 has been observed exploited in the wild (reported by VulnCheck KEV, InTheWild.io). EIP tracks 2 public exploits from researchers including MaXe, Ben Schmidt.

AI-analyzed exploit summary This exploit leverages a vulnerability in WordPress TimThumb plugin (versions up to 1.32) to achieve remote code execution by tricking the script into caching a malicious PHP file disguised as a GIF image. The PoC includes a crafted GIF header followed by PHP code that executes arbitrary commands via the 'cmd' GET parameter.

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.

Exploits (2)

exploitdb WORKING POC VERIFIED
by MaXe · textwebappsphp
https://www.exploit-db.com/exploits/17602

This exploit leverages a vulnerability in WordPress TimThumb plugin (versions up to 1.32) to achieve remote code execution by tricking the script into caching a malicious PHP file disguised as a GIF image. The PoC includes a crafted GIF header followed by PHP code that executes arbitrary commands via the 'cmd' GET parameter.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WordPress TimThumb Plugin versions 1.* - 1.32
No auth needed
Prerequisites: Target must have TimThumb plugin installed and accessible · Attacker must be able to host a malicious file on an external server · Target must allow external URL fetching by the TimThumb script
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
by Ben Schmidt · textwebappsphp
https://www.exploit-db.com/exploits/17872

This exploit demonstrates a remote code execution (RCE) vulnerability in multiple WordPress plugins due to the reuse of a vulnerable version of timthumb.php. The attack involves hosting a malicious GIF file with embedded PHP code and providing it via the 'src' GET parameter to upload and execute arbitrary code on the webserver.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Multiple WordPress plugins (e.g., Category Grid View Gallery, Auto Attachments, WP Marketplace, etc.)
No auth needed
Prerequisites: Attacker-controlled domain to host malicious GIF file · Vulnerable WordPress plugin installed
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7

Scores

EPSS 0.2633
EPSS Percentile 96.4%

Details

VulnCheck KEV 2013-10-26
InTheWild.io 2013-10-28
CWE
CWE-20
Status published
Products (1)
binarymoon/timthumb < 1.99
Published Oct 26, 2013
Tracked Since Feb 18, 2026