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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Knox | from 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.1 | GitHub Advisory Database |
| apache knox | before 1.6.1 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV: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
| https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/01/17/2 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-42357 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42357 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vv38-4xcj-q4rw changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-42357 changed 2026-06-17 | Public domain |