Secunia Logo
 
GPhotos Cross-Site Scripting and Disclosure of Arbitrary Directories
Secunia Advisory: SA20095
Release Date: 2006-05-15
Last Update: 2006-12-04
Popularity: 4,862 views

Critical:
Less critical
Impact: Cross Site Scripting
Exposure of system information
Where: From remote
Solution Status: Unpatched

Software:GPhotos 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2397
CVE-2006-2398
CVE-2006-6248


Description:
Moroccan Security has discovered some vulnerabilities and a weakness in GPhotos, which can be exploited by malicious people to disclose system information and conduct cross-site scripting attacks.

1) Input passed to the "rep" parameter in "index.php" and "diapo.php", and the "image" parameter in "affich.php" isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

2) Input passed to the "rep" parameter in "index.php" isn't properly verified, before it is used to list directories and files. This can be exploited to disclose the content of arbitrary directories via directory traversal attacks.

The vulnerabilities and the weakness have been confirmed in version 1.5. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised and verified.

Provided and/or discovered by:
Moroccan Security

Changelog:
2006-07-20: Added CVE references.
2006-12-04: Added CVE reference.


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. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 102 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 62 views
3. Microsoft Office Communications Server SIP INVITE Denial of Service // 44 views
4. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 37 views
5. ASPReferral "AccountID" SQL Injection Vulnerability // 34 views
6. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 32 views
7. Basic PHP CMS "id" SQL Injection Vulnerability // 32 views
8. Active Trade "username" and "password" SQL Injection Vulnerabilities // 31 views
9. Debian update for wireshark // 31 views
10. Slackware update for ruby // 31 views