Snipe Gallery Cross-Site Scripting and SQL Injection Vulnerabilities
Secunia Advisory: SA18022
Release Date: 2005-12-14
Last Update: 2006-04-20
Popularity: 4,881 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Unpatched

Software:Snipe Gallery 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1826


Description:
r0t has reported some vulnerabilities in Snipe Gallery, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.

1) Input passed to the "gallery_id" parameter in "view.php" and the "image_id" parameter in "image.php" isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "keyword" parameter in "search.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.

The vulnerabilities have been reported in version 3.1.4 and prior. Other versions may also be affected.

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

Provided and/or discovered by:
r0t

Changelog:
2006-04-20: Added CVE reference.

Original Advisory:
http://pridels.blogspot.com/2005/12/snipe-gallery-sqlxss-vuln.html


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

Today
New advisories: 5
New vulnerabilities: 6
Updated advisories: 9

Moderately // 23 views
Gentoo update for courier-authlib

5th Sep, 2008
New advisories: 14
New vulnerabilities: 18
Updated advisories: 22

Less // 314 views
Fedora update for xastir
Less // 332 views
Fedora update for samba
Less // 328 views
Fedora update for bitlbee

Solutions | More...  


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. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 53 views
2. Trend Micro Products Web Management Authentication Bypass // 39 views
3. Adobe Flash Player Multiple Vulnerabilities // 37 views
4. VLC Media Player Multiple Vulnerabilities // 36 views
5. Opera Multiple Vulnerabilities // 30 views
6. Microsoft Word Malformed Object Pointer Vulnerability // 27 views
7. Simple Machines Forum Password Reset Vulnerability // 24 views
8. Microsoft Office Two Code Execution Vulnerabilities // 22 views
9. Subdreamer Light Global Variables SQL Injection Vulnerability // 22 views
10. phpAdultSite CMS SQL Injection And Cross-Site Scripting // 21 views