Update and rename CVE-2024-49757 to CVE-2024-49757.yaml

patch-12
Dhiyaneshwaran 2024-10-28 07:02:14 +05:30 committed by GitHub
parent b29561d49e
commit 2537ef7d65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 48 additions and 40 deletions

View File

@ -1,40 +0,0 @@
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

View File

@ -0,0 +1,48 @@
id: CVE-2024-49757
info:
name: Zitadel - User Registration Bypass
author: Sujal Tuladhar
severity: high
description: |
The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration. Due to a missing security check in versions prior to 2.64.0, 2.63.5, 2.62.7, 2.61.4, 2.60.4, 2.59.5, and 2.58.7, disabling the "User Registration allowed" option only hid the registration button on the login page. Users could bypass this restriction by directly accessing the registration URL (/ui/login/loginname) and register a user that way. Versions 2.64.0, 2.63.5, 2.62.7, 2.61.4, 2.60.4, 2.59.5, and 2.58.7 contain a patch. No known workarounds are available.
reference:
- https://github.com/zitadel/zitadel/releases/tag/v2.58.7
- https://github.com/zitadel/zitadel/releases/tag/v2.59.5
- https://github.com/zitadel/zitadel/releases/tag/v2.60.4
- https://github.com/zitadel/zitadel/releases/tag/v2.61.4
- https://github.com/zitadel/zitadel/releases/tag/v2.62.7
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2024-49757
cwe-id: CWE-287
epss-score: 0.00044
epss-percentile: 0.14016
metadata:
verified: true
max-request: 1
shodan-query: title:"Zitadel"
tags: cve,cve2024,register,zitadel
http:
- method: GET
path:
- "{{BaseURL}}/ui/login/register"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Registration is not allowed (Internal)"
negative: true
- type: word
part: body
words:
- "Enter your Userdata"
- type: status
status:
- 200