id: camunda-login-panel

info:
  name: Camunda Login Panel - Detect
  author: alifathi-h1
  severity: info
  description: Camunda login panel was detected.
  reference:
    - https://docs.camunda.org/manual/7.15/webapps/admin/user-management/
  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: 2
  tags: camunda,panel,login,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/app/welcome/default/#!/login'
      - '{{BaseURL}}/camunda/app/welcome/default/#!/login'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Camunda Welcome"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<footer cam-widget-footer version="v([0-9.]+)"'
# digest: 490a0046304402204b50963c1515455735c9391cacac250fda780cd778020cd3e61d77a7fcb7d7890220222b69d6a497f5417abdedc5ccac4647f2676d6afc8d9a81278199145df2dbd0:922c64590222798bb761d5b6d8e72950