Created CVE-2024-49757

patch-12
evilgensec 2024-10-27 11:11:33 +05:45 committed by GitHub
parent a78d02a793
commit b29561d49e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 40 additions and 0 deletions

View File

@ -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