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: 4b0a00483046022100f823e5c127aced792ff96e8e9214476b414af4e1353f299d1e59d51b537e6fd3022100b1c6a628c41e09ad48d649a5dca0b9f6051955009d9de2338a4237d51322544b:922c64590222798bb761d5b6d8e72950