Maven repository manager vulnerability allows attackers to steal sensitive information
CVE-2024-36115

7.1HIGH

Key Information:

Vendor

Dzikoysk

Vendor
CVE Published:
19 June 2024

What is CVE-2024-36115?

Reposilite, a lightweight and user-friendly open-source repository manager for Maven artifacts in the JVM ecosystem, suffers from a cross-site scripting (XSS) vulnerability. This flaw arises from the artifact content being served on the same origin (protocol/host/port) as the Admin UI. If an artifact contains HTML that executes JavaScript, malicious code can be run in the context of an authenticated user viewing the content. This vulnerability poses severe risks, especially in setups where Reposilite mirrors third-party repositories, such as Maven Central, where any user can publish packages. Attackers can exploit this flaw without needing to lure victims into interacting with malicious artifacts; simply viewing a link can trigger the attack. The potential impact includes complete compromise of the Reposilite instance and the ability for attackers to execute remote commands, particularly if the admin account is targeted. Even in isolated environments, the risk remains, as the attack can be initiated through the admin's browser session. Dzikoysk has released version 3.5.12 to remediate this vulnerability, and users are urged to update as there are no viable workarounds.

Affected Version(s)

reposilite >= 3.3.0, < 3.5.12

References

CVSS V3.1

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.