CVE-2024-36115
Last modified
CVE-2024-36115 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Reposilite is an open source, lightweight and easy-to-use repository manager for Maven based artifacts in JVM ecosystem. As a Maven repository manager, Reposilite provides the ability to view the artifacts content in the browser, as well as perform administrative tasks via API. EPSS estimates a 0.78% chance of exploitation in the next 30 days.
Description
Reposilite is an open source, lightweight and easy-to-use repository manager for Maven based artifacts in JVM ecosystem. As a Maven repository manager, Reposilite provides the ability to view the artifacts content in the browser, as well as perform administrative tasks via API. The problem lies in the fact that the artifact's content is served via the same origin (protocol/host/port) as the Admin UI. If the artifact contains HTML content with javascript inside, the javascript is executed within the same origin. Therefore, if an authenticated user is viewing the artifacts content, the javascript inside can access the browser's local storage where the user's password (aka 'token-secret') is stored. It is especially dangerous in scenarios where Reposilite is configured to mirror third party repositories, like the Maven Central Repository. Since anyone can publish an artifact to Maven Central under its own name, such malicious packages can be used to attack the Reposilite instance. This issue may lead to the full Reposilite instance compromise. If this attack is performed against the admin user, it's possible to use the admin API to modify settings and artifacts on the instance. In the worst case scenario, an attacker would be able to obtain the Remote code execution on all systems that use artifacts from Reposilite. It's important to note that the attacker does not need to lure a victim user to use a malicious artifact, but just open a link in the browser. This link can be silently loaded among the other HTML content, making this attack unnoticeable. Even if the Reposilite instance is located in an isolated environment, such as behind a VPN or in the local network, this attack is still possible as it can be performed from the admin browser. Reposilite has addressed this issue in version 3.5.12. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue was discovered and reported by the GitHub Security lab and is also tracked as GHSL-2024-072.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-36115?
How severe is CVE-2024-36115?
How do I fix CVE-2024-36115?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-3611The Toolbar Extras for Elementor & More – WordPress Admin Ba…6.4
- CVE-2024-36110ansibleguy-webui is an open source WebUI for using Ansible. …8.2
- CVE-2024-36111KubePi is a K8s panel. Starting in version 1.6.3 and prior t…6.3
- CVE-2024-36112Nautobot is a Network Source of Truth and Network Automation…6.5
- CVE-2024-36113Discourse is an open-source discussion platform. Prior to ve…6.5
- CVE-2024-36114Aircompressor is a library with ports of the Snappy, LZO, LZ…8.6
- CVE-2024-36116Reposilite is an open source, lightweight and easy-to-use re…9.8
- CVE-2024-36117Reposilite is an open source, lightweight and easy-to-use re…7.5
- CVE-2024-36118MeterSphere is a test management and interface testing tool.…4.3
- CVE-2024-36119Statamic is a, Laravel + Git powered CMS designed for buildi…1.8
- CVE-2024-3612A vulnerability was found in SourceCodester Warehouse Manage…5.4
- CVE-2024-36120javascript-deobfuscator removes common JavaScript obfuscatio…7.8
Are you affected by CVE-2024-36115?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
