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:
    google-query: intitle:"Login - Residential Gateway"
    max-request: 2
    shodan-query: http.title:"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: 4a0a0047304502204bd1b00e42c981ceadb649c98276a2989fae1d42dce844a187e53e283dd27444022100fa8dfeaaa5215776e1c1d145f9f997ceb730d176920a15e5417d75fd5467e8f4:922c64590222798bb761d5b6d8e72950