MEDIUM6.5
GHSA-qf34-f43r-gv9p
Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)
Quick fix
GHSA-qf34-f43r-gv9p — org.apache.archiva:archiva: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.2.10</version> for org.apache.archiva:archivaDetails
Apache Archiva is vulnerable to privilege escalation vua stored cross-site-scripting 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 as an admin user.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.archiva:archiva
Introduced in:
2.0.0Fixed in: 2.2.10Fix
# pom.xml: bump <version>2.2.10</version> for org.apache.archiva:archivaReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-28158[ADVISORY]
- https://github.com/apache/archiva/commit/d62e81c7e75f617cf01d2a75952a2c857758f8c4[WEB]
- https://github.com/apache/archiva/commit/e7f7e70992d361d8b7a3298ddcdf49dda2fdc842[WEB]
- https://github.com/apache/archiva/commit/ee3ee0a18977b67b6997ea8cd023816201059f96[WEB]
- https://github.com/apache/archiva[PACKAGE]
- https://github.com/apache/archiva/releases/tag/archiva-2.2.10[WEB]
- https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt[WEB]
- http://www.openwall.com/lists/oss-security/2023/04/18/2[WEB]