{"id":"CVE-2021-42357","state":"PUBLISHED","title":"DOM based XSS Vulnerability in Apache Knox","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.","publishedAt":"2022-01-17T19:25:09.000Z","updatedAt":"2024-08-04T03:30:38.347Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Knox"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Knox","versions":[{"version":"Apache Knox 1.x","status":"affected","lessThan":"1.6.1","versionType":"custom"},{"version":"0.12.0","status":"affected","lessThan":"Apache Knox 0.x*","versionType":"custom"}]}],"references":["https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","http://www.openwall.com/lists/oss-security/2022/01/17/2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:49:04.473Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/42xxx/CVE-2021-42357.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-42357","state":"PUBLISHED","datePublished":"2022-01-17T19:25:09.000Z","dateUpdated":"2024-08-04T03:30:38.347Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-10-14T00:00:00.000Z"},"containers":{"cna":{"title":"DOM based XSS Vulnerability in Apache Knox","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache Knox","versions":[{"version":"Apache Knox 1.x","status":"affected","lessThan":"1.6.1","versionType":"custom"},{"version":"0.12.0","status":"affected","lessThan":"Apache Knox 0.x*","versionType":"custom"}]}],"references":[{"url":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/17/2","name":"[oss-security] 20220117 CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox","tags":["mailing-list","x_refsource_MLIST"]}],"metrics":[{"other":{"content":{"other":"moderate"},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2022-01-17T21:06:09.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"Apache Knox would like to thank Kajetan Rostojek for this report"}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"1.x users should upgrade to 1.6.1.\nUnsupported versions of the 0.x line that include this issue are: 0.13.0, 0.14.0.\nand these should upgrade to 1.6.1 as well.\n1.0.0 and 1.1.0 are also Unsupported but affected and should upgrade to 1.6.1."}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-42357","STATE":"PUBLIC","TITLE":"DOM based XSS Vulnerability in Apache Knox"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Knox","version":{"version_data":[{"version_affected":"<","version_name":"Apache Knox 1.x","version_value":"1.6.1"},{"version_affected":">","version_name":"Apache Knox 0.x","version_value":"0.12.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Knox would like to thank Kajetan Rostojek for this report"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"moderate"}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","refsource":"MISC","url":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j"},{"name":"[oss-security] 20220117 CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2022/01/17/2"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"1.x users should upgrade to 1.6.1.\nUnsupported versions of the 0.x line that include this issue are: 0.13.0, 0.14.0.\nand these should upgrade to 1.6.1 as well.\n1.0.0 and 1.1.0 are also Unsupported but affected and should upgrade to 1.6.1."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/17/2","name":"[oss-security] 20220117 CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T03:30:38.347Z"}}]}}}