medium6.5
CVE-2023-28158
Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.archiva:archiva | >= 2.0.0, < 2.2.10 | 2.2.10 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Archiva | from 2.0 before 2.2.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2023/04/18/2
- https://lists.apache.org/thread/8pm6d5y9cptznm0bdny3n8voovmm0dtt
- https://github.com/advisories/GHSA-qf34-f43r-gv9p
- https://nvd.nist.gov/vuln/detail/CVE-2023-28158
- https://github.com/apache/archiva/commit/d62e81c7e75f617cf01d2a75952a2c857758f8c4
- https://github.com/apache/archiva/commit/e7f7e70992d361d8b7a3298ddcdf49dda2fdc842
- https://github.com/apache/archiva/commit/ee3ee0a18977b67b6997ea8cd023816201059f96
- https://github.com/apache/archiva/releases/tag/archiva-2.2.10