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

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: 4a0a00473045022006a4dc631483e525dae6bf3b76b127e98ceecc54924bec5f7b74b74b2fe37bf202210087d95a8d2b0c26612d49bddbbd41a0d65156626409b06d60d8d29f95f5fb022a:922c64590222798bb761d5b6d8e72950