WordPress Timthumb Plugin 'timthumb' Cache Directory Arbitrary File Upload Vulnerability

BID:48963

Info

WordPress Timthumb Plugin 'timthumb' Cache Directory Arbitrary File Upload Vulnerability

Bugtraq ID: 48963
Class: Design Error
CVE: CVE-2011-4106
Remote: Yes
Local: No
Published: Aug 02 2011 12:00AM
Updated: Jan 06 2012 10:00PM
Credit: Mark Maunder and the vendor
Vulnerable: WordPress WP Marketplace Plugin 0
WordPress Vk Gallery Plugin 0
WordPress Verve Meta Boxes Plugin 0
WordPress User Avatar Plugin 0
WordPress SmoothGallery 1.15.1
WordPress Simple Slide Show 1.0
WordPress Rent A Car Plugin 0
WordPress Rekt Slideshow Plugin 0
WordPress Really Easy Slider Plugin 0
WordPress Popular Posts 2.1.4
WordPress MediaRSS 0.1
WordPress LISL Last Image Slider Plugin 0
WordPress Kino Gallery Plugin 0
WordPress Islidex Plugin 0
WordPress IGIT Related Posts With Thumb Image After Posts 3.9.7
WordPress IGIT Posts Slider Widget 1.1
WordPress Extend Plugin 0
WordPress DukaPress Shopping Cart 2.3.2
WordPress DP Thumbnail Plugin 0
WordPress Cms Pack Plugin 0
WordPress Category List Portfolio Page Plugin 0
WordPress CAC Featured Content Plugin 0
WordPress Auto Attachments Plugin 0
WordPress A. Gallery 0.9 revision 378511
WordPress A Gallery Plugin 0
Timthumb Timthumb 1.33
Timthumb Timthumb 1.32
Timthumb Timthumb 1.1
Not Vulnerable: WordPress SmoothGallery 1.15.2
WordPress MediaRSS 0.2
WordPress IGIT Related Posts With Thumb Image After Posts 3.9.8
WordPress IGIT Posts Slider Widget 1.2
WordPress DukaPress Shopping Cart 2.3.3
WordPress A. Gallery 0.9 revision 438727
Timthumb Timthumb 1.34

Discussion

WordPress Timthumb Plugin 'timthumb' Cache Directory Arbitrary File Upload Vulnerability

The Timthumb plugin is prone to a vulnerability that lets attackers upload arbitrary files. The issue occurs because the application stores uploaded files in a Web accessible temporary cache directory. Also, the application fails to properly validate permitted domains for uploaded files.

An attacker can exploit this vulnerability to upload arbitrary PHP code and run it in the context of the Web server process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible.

Versions prior to Timthumb 1.34 are vulnerable.

Exploit / POC

WordPress Timthumb Plugin 'timthumb' Cache Directory Arbitrary File Upload Vulnerability

Attackers can exploit this issue through a browser.

Solution / Fix

WordPress Timthumb Plugin 'timthumb' Cache Directory Arbitrary File Upload Vulnerability

Solution:
The vendor released an update. Please see the references for details.

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report