Joomla Gallery XML Component Two Vulnerabilities

SECUNIA ADVISORY ID:
SA40295

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

RELEASE DATE:
2010-06-23
DESCRIPTION:
Two vulnerabilities have been discovered in the Gallery XML component
for Joomla, which can be exploited by malicious people to disclose
potentially sensitive information and conduct SQL injection attacks.

1) Input passed to the "controller" parameter in index.php (when
"option" is set to "com_galleryxml") is not properly verified before
being used to include files. This can be exploited to include
arbitrary files from local resources via directory traversal attacks
and URL-encoded NULL bytes.

2) Input passed via the "gcatid" parameter to index.php (when
"option" is set to "com_galleryxml", "controller" is set to "galpic",
and "task" is set to "catpics") 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.1. Other versions may
also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
jdc


RECENT ARTICLE

RECENT POST