id: residential-gateway-login

info:
  name: Residential Gateway Login Panel - Detect
  author: idealphase
  severity: info
  description: Residential Gateway login 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: 2
    shodan-query: http.title:"Login - Residential Gateway"
    google-query: intitle:"Login - Residential Gateway"
  tags: panel,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/cgi-bin/wwwctrl.cgi?action=home"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Login - Residential Gateway</title>"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100865cc3ed7d6c6f299c00ed4be6dcedc7130f615055bbd4babcecb237c0706545022100e3861bc12997608f8ee30fd91e4c58e0f57b8269ca0f6313d25dde67ea7c61a4:922c64590222798bb761d5b6d8e72950