Apache Archiva vulnerable to Cross Site Request Forgery
Published 14 May 2022 · Updated 8 Nov 2023
Is your project on an affected org.apache.archiva:archiva?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <2.2.3
- Fixed in
- 2.2.3
mvn versions:use-dep-version -Dincludes=org.apache.archiva:archiva -DdepVersion=2.2.3 -DforceVersion=trueDetails
Several REST service endpoints of Apache Archiva are not protected against Cross Site Request Forgery (CSRF) attacks. A malicious site opened in the same browser as the archiva site, may send an HTML response that performs arbitrary actions on archiva services, with the same rights as the active archiva session (e.g. administrator rights).
Is GHSA-hf4p-mhc8-x2gp in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.archiva:archiva, and gives you the command that fixes it.
More advisories for org.apache.archiva:archiva
- HighCVE-2024-27139Apache Archiva Incorrect Authorization vulnerability · 1 Mar 2024
- HighCVE-2024-27138Apache Archiva Incorrect Authorization vulnerability · 1 Mar 2024
- MediumCVE-2023-28158Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS) · 29 Mar 2023
- MediumCVE-2022-29405Missing Authorization in Apache Archiva · 26 May 2022
- MediumCVE-2011-0533Apache Continuum and Archiva vulnerable to Cross-site Scripting · 14 May 2022
- MediumCVE-2010-4408Apache Archiva does not require entry of the administrator's password at the time of modifying a user account · 14 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-5657
- Packagegithub.com/apache/archiva
- Linklists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E
- Linkweb.archive.org/web/20211206215453/https://securitytracker.com/id/1038528
- Linkarchiva.apache.org/security.html#CVE-2017-5657
- Linkwww.securityfocus.com/bid/98570
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.