CVE-2016-5005 Apache Archiva vulnerable to Cross-site Scripting
Remote authenticated administrators can inject arbitrary web script or HTML via the connector.sourceRepoId parameter in Apache Archiva.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-5005?
CVE-2016-5005 is a medium-severity cross-site scripting vulnerability in n/a, published on 28 Jul 2016. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in Apache Archiva 1.3.9 and earlier allows remote authenticated administrators to inject arbitrary web script or HTML via the connector.sourceRepoId parameter to admin/addProxyConnector_commit.action.
Weakness: CWE-79
Which versions are affected by CVE-2016-5005?
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.1 |
org.apache.archiva:archiva Maven | All versions | 2.2.1 |
Products include Apache Archiva.
How do I fix CVE-2016-5005?
Upgrade org.apache.archiva:archiva to 2.2.1 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2016-5005 being exploited?
There is no known exploitation of CVE-2016-5005 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2013-2251 Apache Struts Improper Input Validation
- CVE-2016-4469 Cross-site request forgery in n/a
- CVE-2017-5657 Apache Archiva vulnerable to Cross Site Request Forgery
- CVE-2024-27138 Apache Archiva: disabling user registration is not effective
- CVE-2024-27139 Apache Archiva: incorrect authentication potentially leading to account takeover
Sources
Also known as GHSA-8jfm-rgmg-3wq2.