PT-2024-30299 · Zenml · Zenml

Published

2024-11-14

·

Updated

2024-11-18

·

CVE-2024-4311

CVSS v3.1

5.4

Medium

VectorAV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H
Name of the Vulnerable Software and Affected Versions zenml-io/zenml version 0.56.4
Description The issue is related to an account takeover due to the lack of rate-limiting in the password change function. An attacker can brute-force the current password in the 'Update Password' function, allowing them to take over the user's account. This is due to the absence of rate-limiting on the "/api/v1/current-user" endpoint, which does not restrict the number of attempts an attacker can make to guess the current password. Successful exploitation results in the attacker being able to change the password and take control of the account.
Recommendations For zenml-io/zenml version 0.56.4, consider implementing rate-limiting on the "/api/v1/current-user" endpoint to restrict the number of attempts an attacker can make to guess the current password. As a temporary workaround, consider restricting access to the 'Update Password' function until a patch is available.

Exploit

Fix

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-4311
GHSA-J3VQ-PMP5-R5XJ

Affected Products

Zenml