diff --git a/vulnerabilities/other/netgear-router-disclosure.yaml b/vulnerabilities/other/netgear-router-disclosure.yaml new file mode 100644 index 0000000000..e0e1dc8085 --- /dev/null +++ b/vulnerabilities/other/netgear-router-disclosure.yaml @@ -0,0 +1,41 @@ +id: netgear-router-disclosure + +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,disclosure,iot + +requests: + - method: GET + path: + - "{{BaseURL}}/rootDesc.xml" + + matchers-condition: and + matchers: + - type: status + status: + - 200 + - 501 + + - type: word + words: + - "" + - "" + - "" + condition: and + + - type: word + part: header + words: + - text/xml + + extractors: + - type: regex + group: 1 + regex: + - "([A-Z0-9]+)<\\/serialNumber>"