Secunia Logo Secunia CSI integrated with Microsoft WSUS for 3rd Party Patch Management 


Secunia PSI WorldMap
 
PHPhotoalbum SQL Injection and Arbitrary File Upload
Secunia Advisory: SA30407
Release Date: 2008-05-29
Last Update: 2009-12-22
Popularity: 2,240 views

Critical:
Moderately critical
Impact: Manipulation of data
System access
Where: From remote
Solution Status: Unpatched

Software:PHPhotoalbum 0.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
A security issue and a some vulnerabilities have been discovered in PHPhotoalbum, which can be exploited by malicious people to conduct SQL injection attacks or compromise a vulnerable system.

1) Input passed to the "album" parameter in thumbnails.php and "pid" in displayimage.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) The security issue is caused due to the application improperly validating uploaded files. This can be exploited to execute arbitrary PHP code by uploading a malicious PHP script with multiple extensions.

Successful exploitation requires that Apache is not configured to handle the mime-type for media files with an e.g. "gif", "jpg", "png" extension.

The security issue and the vulnerabilities are confirmed in version 0.5. Other versions may also be affected.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



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. Microsoft Windows TCP/IP Implementation Vulnerabilities // 100 views
2. Microsoft DirectShow AVI File Parsing Buffer Overflow Vulnerability // 81 views
3. Microsoft Office PowerPoint Multiple Vulnerabilities // 52 views
4. Microsoft Office File Parsing Buffer Overflow Vulnerability // 50 views
5. Microsoft Data Analyzer ActiveX Control Vulnerability // 47 views
6. Microsoft Windows SMB Client Implementation Vulnerabilities // 45 views
7. Microsoft Windows "ShellExecute()" Input Validation Vulnerability // 45 views
8. Microsoft Internet Explorer Local File Disclosure Vulnerabilities // 38 views
9. Adobe Flash Player Multiple Vulnerabilities // 37 views
10. Microsoft Windows Paint JPEG Parsing Integer Overflow Vulnerability // 37 views