id: jorani-panel

info:
  name: Jorani Login Panel - Detect
  author: DhiyaneshDK
  severity: info
  description: Jorani 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:a:jorani:jorani:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    shodan-query: html:"Login - Jorani"
    product: jorani
    vendor: jorani
  tags: panel,jorani,login

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/index.php/session/login'

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Login - Jorani"
          - "name=\"csrf_test_jorani"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '&nbsp;v([0-9.]+)'
# digest: 4b0a00483046022100fc9574ab4de6d20fae0000bc8adc2276fed38c722875b2ee13b5bd354420e6c50221009d5b4c17de513a9cb39da8b6a3b7ccb6fb4db663d05acf38dd6fd8c0b5e495d7:922c64590222798bb761d5b6d8e72950