CVE-2021-42357
JSON

6.1medium

DOM based XSS Vulnerability in Apache Knox

Severity
6.1medium CVSS:3.1 by NVD
Exploit likelihood
2.66% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-vv38-4xcj-q4rw

Description

When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Knoxfrom Apache Knox 1.x before 1.6.1, from 0.12.0 before Apache Knox 0.x*CVE List
org.apache.knox:gateway-service-knoxsso (Maven)before 1.6.1GitHub Advisory Database
apache knoxbefore 1.6.1NVD

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.

NVD (es)

Cuando era usado Apache Knox SSO versiones anteriores a 1.6.1, una petición podía ser diseñada para redirigir a un usuario a una página maliciosa debido a un análisis incorrecto de la URL. Una petición que incluyera un parámetro de petición especialmente diseñado podría ser usada para redirigir al usuario a una página controlada por un atacante. Esta URL tendría que ser presentada al usuario fuera del flujo normal de peticiones mediante una campaña de tipo XSS o phishing

References

Sources

SourceRecordLicence
CVE ListCVE-2021-42357 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-vv38-4xcj-q4rw changed 2023-11-08CC-BY-4.0
NVDCVE-2021-42357 changed 2026-06-17Public domain