HighGHSA-hf4p-mhc8-x2gpCVE-2017-5657

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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.archiva:archiva -DdepVersion=2.2.3 -DforceVersion=true

Details

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
All 11 advisories for org.apache.archiva:archiva

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.