Date: May 2nd, 2019
Affected Versions: Nexus Repository 2 Pro versions starting in 2.6.0 up to and including 2.14.12
Fixed in Version: Nexus Repository 2 Pro version 2.14.13
Risk: Medium - 6.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
Summary:
A cross-site scripting (XSS) vulnerability have been discovered in Nexus Repository 2.
An attacker can craft URLs which if followed can execute arbitrary javascript in the context of the Nexus Repository application. We have fixed the issue by sanitizing the over-looked user input. This advisory provides the pertinent information needed to properly address this vulnerability, along with the details on how to reach us if you have any further questions or concerns.
We are not aware of any active exploits taking advantage of this issue. However, we strongly encourage all users of Nexus Repository 2 Pro to immediately take the steps outlined in this advisory.
The identified vulnerability allows arbitrary JavaScript to run in an Nexus Repository 2 user's browser in the context of the application. In regards to XSS, it is common that the injected JavaScript could forge requests on behalf of the user, redirect the user to another site or modify the page content. We are highly recommending all instances of Nexus Repository 2 Pro be upgraded to 2.14.13 or later.
For detailed information on upgrade, please see:
https://support.sonatype.com/hc/en-us/articles/213464138
Support:
If you run into any problems, or have any questions/concerns, please contact us by filing a ticket at https://support.sonatype.com.
Frequently Asked Questions:
Q: What is the risk associated with this vulnerability?
A: An attacker can provide specially crafted URLs to a user of Nexus Repository 2 Pro that would execute arbitrary JavaScript within the context of the application leading to the compromise of the confidentiality and integrity of data.
Q: What preconditions must be met in order to be vulnerable?
A: A user of Nexus Repository 2 must click on a link that has been specially crafted.
Q: Are there implications associated with this advisory itself?
A: Disclosure unfortunately means bad actors may try to take advantage. While we have initially limited the information to the minimum details necessary for users to affect an appropriate fix, this merely slows down a would be attacker. As such, we are advising all organizations utilizing Nexus Repository 2 Pro to immediately assess their individual impact and take appropriate action in response.
Q: Where can I obtain more information associated with the vulnerability?
A: At this time, and in the interest of best protecting our user community, we are limiting the information released to that absolutely required in order to assess impact and affect remediation. Please contact support for more information.
Q: Why is Sonatype making this information available?
A: This is part of a responsible disclosure process. Given Nexus Repository is an open source project with widespread usage, notifying the user base will invariably lead to broad dissemination. We are taking a concerted and proactive approach in our outreach activities and an effort to achieve the most rapid remediation possible.