id: hitron-technologies-detect

info:
  name: Hitron Technologies Router Login Panel - Detect
  author: pussycat0x
  severity: info
  description: Hitron Technologies router login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/7062
  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: 1
  tags: panel,edb,router

http:
  - method: GET
    path:
      - "{{BaseURL}}/login.html"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "hitron"
          - "$.hitron.languages.lang_init();"
        condition: and

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