CVE-2017-5657 Apache Archiva vulnerable to Cross Site Request Forgery
Attackers can perform arbitrary actions on Apache Archiva with the victim's privileges via CSRF, potentially leading to administrative control.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-5657?
CVE-2017-5657 is a high-severity vulnerability in Apache Archiva, published on 22 May 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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).
Weakness: CWE-352
Which versions are affected by CVE-2017-5657?
2 open source packages ship an affected version, including org.apache.archiva:archiva. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.archiva:archiva Maven | All versions | 2.2.3 |
org.apache.archiva:archiva Maven | All versions | 2.2.3 |
Products include Apache Archiva.
How do I fix CVE-2017-5657?
Upgrade org.apache.archiva:archiva to 2.2.3 or later.
Is CVE-2017-5657 being exploited?
There is no known exploitation of CVE-2017-5657 in the wild and no public exploit code.
Other vulnerabilities in Apache Archiva
- CVE-2013-2251 Apache Struts Improper Input Validation
- CVE-2016-4469 Cross-site request forgery in n/a
- CVE-2024-27138 Apache Archiva: disabling user registration is not effective
- CVE-2024-27139 Apache Archiva: incorrect authentication potentially leading to account takeover
- CVE-2022-40308 Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files
Sources
Also known as GHSA-hf4p-mhc8-x2gp.