OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA17841] Instant Photo Gallery SQL Injection Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Dec 01 2005 - 09:17:07 CST


TITLE:
Instant Photo Gallery SQL Injection Vulnerabilities

SECUNIA ADVISORY ID:
SA17841

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

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
From remote

SOFTWARE:
Instant Photo Gallery 1.x
http://secunia.com/product/6297/

DESCRIPTION:
r0t has reported two vulnerabilities in Instant Photo Gallery, which
can be exploited by malicious people to conduct SQL injection
attacks.

Input passed to the "cat_id" parameter in "portfolio.php" and the
"cid" parameter in "content.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.

The vulnerabilities have been reported in version 1 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

ORIGINAL ADVISORY:
http://pridels.blogspot.com/2005/11/instant-photo-gallery-sql-inj-vuln.html

----------------------------------------------------------------------

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.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------