Joomla PhotoMap Gallery Component Two SQL Injection Vulnerabilities

SECUNIA ADVISORY ID:
SA40761

VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/40761/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=40761

RELEASE DATE:
2010-08-05
DESCRIPTION:
Salvatore Fresta has discovered two vulnerabilities in the PhotoMap
Gallery component for Joomla, which can be exploited by malicious
users and malicious people to conduct SQL injection attacks.

1) Input passed via the "id" parameter to index.php (when "option" is
set to "com_photomapgallery", "view" is set to "user", and "task" is
set to "save_usercategory") is not properly sanitised before being
used in a SQL query. This can be exploited to manipulate SQL queries
by injecting arbitrary SQL code.

Successful exploitation requires "Public Front-end" permissions.

2) Input passed via the "folder" parameter to index.php (when
"option" is set to "com_photomapgallery" and "view" is set to
"imagehandler") is not properly sanitised before being used in a SQL
query. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

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

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

PROVIDED AND/OR DISCOVERED BY:
Salvatore Fresta

ORIGINAL ADVISORY:
http://adv.salvatorefresta.net/PhotoMap_Gallery_1.6.0_Joomla_Component_Multiple_Blind_SQL_Injection-28072010.txt

RECENT ARTICLE

RECENT POST