Arbitrary file upload in Apache Archiva - CVE-2023-28158
Published: March 30, 2023
Vulnerability identifier: #VU74218
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-28158
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Archiva
Apache Archiva
Detailed vulnerability description
The vulnerability allows a remote user to perform XSS attacks.
The vulnerability exists due to insufficient validation of file during file upload. A remote user can upload a malicious file and execute arbitrary HTML or JavaScript code in victim's browser once the uploaded file is viewed.
How to mitigate CVE-2023-28158
Install update from vendor's website.