id: zitadel-panel

info:
  name: ZITADEL Panel - Detect
  author: ChrisJr404
  severity: info
  description: |
    Detected ZITADEL was an open-source identity infrastructure platform providing OIDC, OAuth 2.0, SAML and machine-user IAM.
  reference:
    - https://github.com/zitadel/zitadel
    - https://zitadel.com/docs
  metadata:
    verified: true
    max-request: 1
    vendor: zitadel
    product: zitadel
    shodan-query: '"X-Zitadel"'
    fofa-query: title="ZITADEL"
  tags: panel,zitadel,iam,oidc,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/ui/console/"

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "ZITADEL", "<cnsl-root>")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100e94c0e77adef9ec85cca8f30fe388c056d8f81e86c3f25f0fe882da9cf74fe4302201c04248f84348002b4a25e8865af2f7b8f94dd115cf017fd78e54176431ce1a0:922c64590222798bb761d5b6d8e72950