Secunia Logo
 
PunBB Automatic Image Upload with Thumbnails Module File Upload
Secunia Advisory: SA28138
Release Date: 2007-12-18
Last Update: 2008-01-02
Popularity: 3,449 views

Critical:
Moderately critical
Impact: Cross Site Scripting
System access
Where: From remote
Solution Status: Unpatched

Software:Automatic Image Upload with Thumbnails (module for PunBB) 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-6527


Description:
Peter Österberg has discovered a vulnerability in the Automatic Image Upload with Thumbnails module for PunBB, which can be exploited by malicious users to conduct cross-site scripting attacks and to compromise a vulnerable system.

The uploadimg.php script fails to validate the extension of an uploaded file. This can be exploited to upload files with ".html" or ".php" extensions by passing an allowed MIME media type in the HTTP headers.

Successful exploitation allows to conduct cross-site scripting attacks or to execute arbitrary PHP code on the server, but requires valid user credentials in a group that is allowed to upload files.

The vulnerability is confirmed in version 1.3.3 and reported in version 1.3.2. Other versions may also be affected.

Solution:
Implement whitelisting based on file extensions in uploaded files.

Grant only trusted users privileges to upload files.

Provided and/or discovered by:
Peter Österberg, FortConsult A/S

Changelog:
2008-01-02: Added CVE reference.

Original Advisory:
http://www.fortconsult.net/images/pdf/advisories/punBB_imgUpload.pdf


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 451 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 147 views
3. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 84 views
4. Apple QuickTime Multiple Vulnerabilities // 69 views
5. Adobe AIR Multiple Vulnerabilities // 67 views
6. Adobe Acrobat/Reader Multiple Vulnerabilities // 67 views
7. Linux Kernel PARISC "parisc_show_stack()" Denial of Service // 60 views
8. IBM HMC HTTP TRACE Response Cross-Site Scripting Weakness // 55 views
9. Mozilla Firefox 3 Multiple Vulnerabilities // 49 views
10. Nagios Unspecified CGI Vulnerability // 48 views