First published: Wed Mar 29 2023(Updated: )
Privilege escalation via stored XSS using the file upload service to upload malicious content. The issue can be exploited only by authenticated users which can create directory name to inject some XSS content and gain some privileges such admin user.
Credit: security@apache.org
Affected Software | Affected Version | How to fix |
---|---|---|
Apache Archiva | >=2.0<2.2.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-28158 is a vulnerability that allows for privilege escalation through stored cross-site scripting (XSS) using the file upload service to upload malicious content.
Only authenticated users with the ability to create directory names can exploit this vulnerability.
Authenticated users can inject XSS content into directory names when using the file upload service, allowing them to gain elevated privileges such as admin user access.
The severity of CVE-2023-28158 is medium, with a severity value of 5.4.
To mitigate CVE-2023-28158, ensure that all user-supplied input is properly validated and sanitized when creating directory names for the file upload service.