Created CVE-2024-49757
parent
a78d02a793
commit
b29561d49e
|
@ -0,0 +1,40 @@
|
||||||
|
id: zitadel-cve-2024-49757-registration-check
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Zitadel User Registration Check
|
||||||
|
author: Sujal Tuladhar
|
||||||
|
severity: high
|
||||||
|
description: |
|
||||||
|
Checks for the presence of the Zitadel registration endpoint (/ui/login/register)
|
||||||
|
in unpatched versions (< 2.63.4) where user registration can be bypassed if not configured correctly.
|
||||||
|
tags: zitadel,cve,cve-2024-49757,registration
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/auth/v1/healthz" # To confirm Zitadel technology
|
||||||
|
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- "zitadel"
|
||||||
|
part: body
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
||||||
|
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/ui/login/register" # Check registration endpoint
|
||||||
|
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- "Registration is not allowed (Internal)"
|
||||||
|
part: body
|
||||||
|
negative: true # Marks as vulnerable only if this phrase is absent
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200 # Vulnerable if 200 status and phrase is absent
|
Loading…
Reference in New Issue