OSEC

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

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu May 29 2008 - 18:10:04 CDT


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

Secunia Network Software Inspector 2.0 (NSI) - Public Beta

The Public Beta has ended. Thanks to all that participated.

Learn more:
http://secunia.com/network_software_inspector_2/

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

TITLE:
PHPhotoalbum Two SQL Injection Vulnerabilities

SECUNIA ADVISORY ID:
SA30407

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

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
From remote

SOFTWARE:
PHPhotoalbum 0.x
http://secunia.com/product/12159/

DESCRIPTION:
cOndemned has discovered two vulnerabilities in PHPhotoalbum, which
can be exploited by malicious people to conduct SQL injection
attacks.

Input passed to the "album" parameter in thumbnails.php and "pid" in
displayimage.php is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

The vulnerabilities are confirmed in version 0.5. Other versions may
also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
cOndemned

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/5683

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

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

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