42 lines
934 B
YAML
42 lines
934 B
YAML
|
id: netgear-router-exposure
|
||
|
|
||
|
info:
|
||
|
name: Netgear Router S/N Disclosure
|
||
|
description: Multiple Netgear router models disclose their serial number which can be used to obtain the admin password if password recovery is enabled.
|
||
|
reference:
|
||
|
- https://www.exploit-db.com/exploits/47117
|
||
|
- https://www.exploit-db.com/exploits/45741
|
||
|
author: geeknik
|
||
|
severity: critical
|
||
|
tags: netgear,exposure,iot
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/rootDesc.xml"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|
||
|
- 501
|
||
|
|
||
|
- type: word
|
||
|
words:
|
||
|
- "<serialNumber>"
|
||
|
- "<deviceType>"
|
||
|
- "<modelNumber>"
|
||
|
condition: and
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- text/xml
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
group: 1
|
||
|
regex:
|
||
|
- "<serialNumber>([A-Z0-9]+)<\\/serialNumber>"
|