nuclei-templates/http/exposed-panels/pulse-secure-version.yaml

43 lines
1.1 KiB
YAML

id: pulse-secure-version
info:
name: Pulse Secure Version
author: dadevel
severity: info
metadata:
max-request: 2
vendor: pulsesecure
product: pulse_connect_secure
tags: pulse,panel
http:
- method: GET
path:
- "{{BaseURL}}/dana-na/nc/nc_gina_ver.txt" # not present in newer release
- "{{BaseURL}}/dana-cached/hc/HostCheckerInstaller.osx"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: word
part: body
words:
- 'NAME="ProductVersion"'
- "<key>version</key>"
condition: or
case-insensitive: true
extractors:
- type: regex
group: 1
part: body
regex:
- '(?i)NAME="ProductVersion"\s+?VALUE="([^"]+)"'
- type: regex
group: 1
part: body
regex:
- "(?i)<string>([^<]+)</string>"
# digest: 4a0a0047304502203aa1cb77ba86704bad2c198c7fbf07c028f96dfe80cb8d6860fbec949ba9b314022100dbe4fbc3fd5b5fb9a25b9f45063a4c986bbe786b109f9356b2da46be1eb8b4af:922c64590222798bb761d5b6d8e72950