nuclei-templates/http/iot/upnp-device.yaml

40 lines
903 B
YAML

id: upnp-device-detect
info:
name: Detect Basic uPNP Device
author: geeknik
severity: info
reference:
- https://www.upnp.org/specs/basic/UPnP-basic-Basic-v1-Device.pdf
metadata:
max-request: 1
tags: upnp,iot
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "urn:schemas-upnp-org:device-1-0"
- "<deviceType>"
- "<modelName>"
part: body
condition: and
extractors:
- type: regex
name: model
regex:
- <modelName>.*</modelName>
- <modelNumber>.*</modelNumber>
# digest: 4a0a004730450221009b08feba1ff7ba79ba527cbc2ba568c26fccd5d92b4568898ce285508088eb01022008d02f14ba4d203b3bc5bfccd9a7bf0f08299e4034f32c135ea0c7b0ba22067e:922c64590222798bb761d5b6d8e72950