id: rg-uac-panel

info:
  name: Ruijie RG-UAC Login Panel - Detect
  author: princechaddha
  severity: info
  description: Ruijie RG-UAC 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
    cpe: cpe:2.3:o:ruijie:rg-uac_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: rg-uac_firmware
    shodan-query: http.html:"Get_Verify_Info"
    vendor: ruijie
  tags: panel,ruijie,router,firewall

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "dkey_check.php"
          - "get_dkey_passwd"
        condition: and

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