Secunia Logo  
 
Easy Photo Gallery Multiple Vulnerabilities
Secunia Advisory: SA31774
Release Date: 2008-09-12
Last Update: 2008-09-29
Popularity: 1,846 views

Critical:
Moderately critical
Impact: Security Bypass
Cross Site Scripting
Manipulation of data
Exposure of system information
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:Easy Photo Gallery 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-4167


Description:
Multiple vulnerabilities have been reported in Easy Photo Gallery, which can be exploited by malicious people to bypass certain security restrictions, and conduct SQL injection and cross-site scripting attacks.

1) Input sent to the "imageid" parameter in show.php and to the "galleryid" parameter in gallery.php is not properly sanitised before being used in an SQL query. This can be exploited to manipulate an SQL query by injecting arbitrary SQL code, and to execute arbitrary HTML and script code in a user's browser session in context of an affected site via SQL error messages.

2) Input passed to the "username" and "password" parameters in gallery.php when "login" is set to "user" is not properly sanitised before being used in an SQL query. This can be exploited to manipulate an SQL query by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that "magic_quotes_gpc" is disabled.

3) Input passed to the "size" parameter in show.php is not 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.

4) Access to "useradmin.php" is not properly restricted, which can be exploited e.g. to add an administrative user.

The vulnerabilities are reported in version 2.1. Other versions may also be affected.

Solution:
Use another product.

Provided and/or discovered by:
1,2,3) Khashayar Fereidani a.k.a. Dr.Crash
4) Stack

Changelog:
2008-09-29: Added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/6428
http://milw0rm.com/exploits/6437


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. Public Media Manager "indir" File Inclusion // 41 views
2. MxBB Portal Mx At A Glance Module "mx_root_path" File Inclusion // 40 views
3. Samba Root File System Access Security Issue // 32 views
4. NPDS Multiple Vulnerabilities // 28 views
5. Links SSL Verification Security Issue // 25 views
6. phpBB reveals user IPs // 24 views
7. Destiny Media Player Playlist Processing Buffer Overflow // 21 views
8. Autoreminder "id" SQL Injection Vulnerability // 21 views
9. Red Hat update for kernel // 19 views
10. Internet Explorer Data Binding Memory Corruption Vulnerability // 18 views