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
    vendor: ruijie
    product: rg-uac_firmware
    shodan-query:
      - http.html:"Get_Verify_Info"
      - http.html:"get_verify_info"
    fofa-query: body="get_verify_info"
  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: 4a0a0047304502202d8179b299d2bd6efe8ecac7b865118512a4837ce4be482f2cb535ec7b4e76b3022100b7347e06d77625bf88ef43fe67b1cd3bb62c6e186c2f99a4fb0306e915fada9b:922c64590222798bb761d5b6d8e72950