|
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.
|