Arbitrary file upload in Apache Archiva - CVE-2023-28158

 

Arbitrary file upload in Apache Archiva - CVE-2023-28158

Published: March 30, 2023


Vulnerability identifier: #VU74218
CSH Severity: Low
CVSS v4: 4.8 [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]
CVE-ID: CVE-2023-28158
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Apache Archiva

How to mitigate CVE-2023-28158

Install update from vendor's website.

Apache Archiva - update to 2.2.10

External References

Related Security Bulletins