CWE
79
Advisory Published
Updated

CVE-2023-28158: Apache Archiva privilege escalation

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 SoftwareAffected VersionHow to fix
Apache Archiva>=2.0<2.2.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-28158?

    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.

  • Who can exploit CVE-2023-28158?

    Only authenticated users with the ability to create directory names can exploit this vulnerability.

  • How does CVE-2023-28158 work?

    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.

  • What is the severity of CVE-2023-28158?

    The severity of CVE-2023-28158 is medium, with a severity value of 5.4.

  • How can I mitigate CVE-2023-28158?

    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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203