ZenML < 0.58.0 XSS

medium Nessus Plugin ID 213479

Synopsis

The remote host is affected by a vulnerability.

Description

The version of ZenML installed on the remote host is prior to 0.57.1. It is, therefore, affected by a A reflected Cross-Site Scripting (XSS) vulnerability was identified in zenml-io/zenml version 0.57.1. The vulnerability exists due to improper neutralization of input during web page generation, specifically within the survey redirect parameter. This flaw allows an attacker to redirect users to a specified URL after completing a survey, without proper validation of the 'redirect' parameter. Consequently, an attacker can execute arbitrary JavaScript code in the context of the user's browser session. This vulnerability could be exploited to steal cookies, potentially leading to account takeover.

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.58.0 or later.

See Also

https://huntr.com/bounties/ceddd3c1-a9da-4d6c-85c4-41d4d1e1102f

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

Plugin Details

Severity: Medium

ID: 213479

File Name: zenml_CVE-2024-5062.nasl

Version: 1.1

Type: combined

Published: 1/3/2025

Updated: 1/3/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 6.4

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

CVSS Score Source: CVE-2024-5062

CVSS v3

Risk Factor: Medium

Base Score: 6.1

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

Vulnerability Information

CPE: cpe:/a:zenml:zenml

Required KB Items: installed_sw/ZenML

Patch Publication Date: 6/30/2024

Vulnerability Publication Date: 6/30/2024

Reference Information

CVE: CVE-2024-5062

CWE: CWE-79