Secunia Logo
 
SelectaPix Cross-Site Scripting and SQL Injection Vulnerabilities
Secunia Advisory: SA20134
Release Date: 2006-06-09
Popularity: 4,122 views

Critical:
Moderately critical
Impact: Security Bypass
Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Vendor Patch

Software:SelectaPix 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2912
CVE-2006-2913


Description:
Secunia Research has discovered some vulnerabilities in SelectaPix, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.

1) Some input is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
http://[host]/view_album.php?albumID=[code]
http://[host]/popup.php?albumID=2&imageID=[code]
http://[host]/index.php?albumID=[code]
* The "username" and "passwd" parameters passed in "admin/member.php".

This can further be exploited to bypass the authentication process and access the administration section.

Successful exploitation requires that "magic_quotes_gpc" is disabled (except for the "albumID" parameter).

2) Input passed to the "albumID" parameter in "popup.php" and "view_album.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.

The vulnerabilities have been confirmed in version 1.31. Prior versions may also be affected.

Solution:
Update to version 1.4.
http://www.outofthetrees.co.uk/selectapix/index.php

Provided and/or discovered by:
Andreas Sandblad, Secunia Research

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2006-39/advisory/


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