Secunia Logo
Netsikker nu! 2008
 
PunBB Automatic Image Upload with Thumbnails Module File Upload
Secunia Advisory: SA28138
Release Date: 2007-12-18
Last Update: 2008-01-02
Popularity: 3,252 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 System Web Proxy Server FTP Subsystem Buffer Overflow // 30 views
2. CA ARCserve Backup Multiple Vulnerabilities // 29 views
3. pMachine "pm_path" File Inclusion Vulnerability // 25 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 25 views
5. Built2go Real Estate Listings "event_id" SQL Injection // 24 views
6. Red Hat update for cups // 23 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 23 views
8. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 23 views
9. CUPS Multiple Vulnerabilities // 21 views
10. Ubuntu update for ruby1.8 // 20 views