CVE-2011-4106
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
23.342%
chance of exploitation in the next 30 days
higher than 97.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2011-08-03First Exploit-DB entry (EDB-ID 17602)815 days before publication
- 2013-10-26Published by the CNA16:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 17602 | webapps | php | 2011-08-03 | yes |
| EDB-ID 17872 | webapps | php | 2011-09-19 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| binarymoon timthumb | through 1.99no fix listed | not listed |
References
- http://code.google.com/p/timthumb/issues/detail?id=212
- http://markmaunder.com/2011/08/02/technical-details-and-scripts-of-the-wordpress-timthumb-php-hack/
- http://www.exploit-db.com/exploits/17602
- http://www.exploit-db.com/exploits/17872
- http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/
- http://www.binarymoon.co.uk/2011/08/timthumb-2/
- http://www.openwall.com/lists/oss-security/2011/11/03/4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2011-4106'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2011-4106'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2011-4106'curl 'https://api.contrastcyber.com/cve_products/CVE-2011-4106'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).