Secunia Logo
Netsikker nu! 2008
 
Simple PHP Scripts Gallery "gallery" File Inclusion
Secunia Advisory: SA24912
Release Date: 2007-04-17
Last Update: 2007-09-10
Popularity: 4,630 views

Critical:
Highly critical
Impact: Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Vendor Patch

Software:Simple PHP Scripts Gallery 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-2679


Description:
A vulnerability has been discovered in Simple PHP Scripts Gallery, which can be exploited by malicious people to compromise a vulnerable system or to disclose sensitive information.

Input passed to the "gallery" parameter in index.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local or external resources.

Successful exploitation from external resources (FTP servers) requires that "allow_url_fopen" and "allow_url_include" are enabled, and that the system is running PHP 5. Successful exploitation from local resources requires that "magic_quotes_gpc" is disabled.

The vulnerability is confirmed in version 0.3. Other versions may also be affected.

Solution:
Update to version 0.4.
http://sourceforge.net/project/showfi...ckage_id=145234&release_id=538383

Provided and/or discovered by:
Sek0MirZa and an anonymous person

Changelog:
2007-05-18: Added CVE reference.
2007-09-10: Updated "Solution" section.


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. phpBB BBcode "url" Script Insertion Vulnerability // 74 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 74 views
3. VMware VirtualCenter Multiple Vulnerabilities // 52 views
4. Microsoft Windows Vista Page Fault Handling Denial of Service // 50 views
5. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 49 views
6. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 43 views
7. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 37 views
8. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 34 views
9. Website Directory "keyword" Cross-Site Scripting Vulnerability // 33 views
10. Kontiki Delivery Management System "action" Cross-Site Scripting // 33 views