ZenML < 0.57.0 Password Reset Brute Force (CVE-2024-4311)

medium Nessus Plugin ID 213484

Synopsis

The remote host is affected by a password reset brute force vulnerability.

Description

The version of ZenML installed on the remote host is prior to 0.57.0. It is, therefore, affected by an account takeover exposure 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 vulnerability 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.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to ZenML version 0.57.0 or later.

See Also

https://huntr.com/bounties/d5517e1a-6b94-4e38-aad6-3aa65f98bec2

http://www.nessus.org/u?f6d8adcd

Plugin Details

Severity: Medium

ID: 213484

File Name: zenml_CVE-2024-4311.nasl

Version: 1.1

Type: combined

Published: 1/3/2025

Updated: 1/3/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:P/I:N/A:C

CVSS Score Source: CVE-2024-4311

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H

Vulnerability Information

CPE: cpe:/a:zenml:zenml

Required KB Items: installed_sw/ZenML

Patch Publication Date: 11/14/2024

Vulnerability Publication Date: 11/14/2024

Reference Information

CVE: CVE-2024-4311

CWE: CWE-770