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,discovery

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: 490a0046304402203d212e35b7d654d0d159a7bcf9127054ca0fc90e031185bb8837d83ca9181ad002200c4606c031ec03aa1bd7a530be9f084a99181b53dbdafcc37660c5aaf5db45e3:922c64590222798bb761d5b6d8e72950