id: netgear-version-detect

info:
  name: NETGEAR Router Panel - Detect
  author: dwisiswant0
  severity: info
  description: NETGEAR router panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: panel,router,netgear,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/currentsetting.htm"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: regex
        part: body
        regex:
          - "^((((Re(adyShareSupportedLevel|gionTag)|InternetConnectionStatus|SOAPVersion|Firmware|Model)|Region)|LoginMethod)|ParentalControlSupported)="

    extractors:
      - type: regex
        part: body
        regex:
          - "Model=([^\\s]+)"
          - "Firmware=([^\\s]+)"
# digest: 4b0a00483046022100ed7e6c583a8dc59dbaa0c7d23c0ddca969ca065f8a05bedfe3f76a258547fb0e022100915d5f545e0587ae33a8d75bbd59cfa7b43b200f79205c74a99e9410d9cea274:922c64590222798bb761d5b6d8e72950