Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:13039
HistoryJun 09, 2006 - 12:00 a.m.

[SA20134] SelectaPix Cross-Site Scripting and SQL Injection Vulnerabilities

2006-06-0900:00:00
vulners.com
14

Want to join the Secunia Security Team?

Secunia offers a position as a security specialist, where your daily
work involves reverse engineering of software and exploit code,
auditing of source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/


TITLE:
SelectaPix Cross-Site Scripting and SQL Injection Vulnerabilities

SECUNIA ADVISORY ID:
SA20134

VERIFY ADVISORY:
http://secunia.com/advisories/20134/

CRITICAL:
Moderately critical

IMPACT:
Security Bypass, Cross Site Scripting, Manipulation of data

WHERE:
>From remote

SOFTWARE:
SelectaPix 1.x
http://secunia.com/product/9985/

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/


About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.