Katalog CVE

CVE-2024-36115

Wysokie
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Reposilite to otwartoźródłowy, lekki menedżer repozytoriów dla artefaktów opartych na Maven w ekosystemie JVM. Problem polega na tym, że zawartość artefaktów jest serwowana z tego samego źródła co interfejs administracyjny, co pozwala na wykonanie złośliwego JavaScriptu, który może uzyskać dostęp do lokalnego magazynu przeglądarki użytkownika.

Ocena ryzyka

Ryzyko dla organizacji polega na tym, że złośliwy kod JavaScript może uzyskać dostęp do poufnych danych, takich jak hasła użytkowników, co może prowadzić do nieautoryzowanego dostępu do systemu. Jest to szczególnie niebezpieczne w przypadku, gdy Reposilite jest skonfigurowany do lustracji zewnętrznych repozytoriów.

Rekomendacja

Zaleca się ograniczenie dostępu do zawartości artefaktów oraz wprowadzenie dodatkowych zabezpieczeń, takich jak Content Security Policy (CSP), aby zminimalizować ryzyko wykonania złośliwego kodu. Należy również monitorować i weryfikować publikowane artefakty w repozytoriach.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

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 is

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS