Katalog CVE

CVE-2023-30585

WysokieCVSS 7.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Podwyższone ryzyko
1.47%

Percentyl 73 - wyżej niż 73% wszystkich znanych CVE

Streszczenie

Podatność w procesie instalacji Node.js (.msi) dotyczy użytkowników Windows instalujących Node.js za pomocą instalatora .msi. Podczas operacji naprawy proces msiexec.exe działający w kontekście NT AUTHORITY\SYSTEM próbuje odczytać zmienną środowiskową %USERPROFILE% z rejestru bieżącego użytkownika. Problem pojawia się, gdy ścieżka wskazywana przez %USERPROFILE% nie istnieje; wtedy msiexec.exe próbuje utworzyć tę ścieżkę w niebezpieczny sposób, co może prowadzić do tworzenia dowolnych folderów w dowolnych lokalizacjach. Ponieważ zmienna %USERPROFILE% w rejestrze Windows może być modyfikowana przez zwykłych użytkowników, nieuprzywilejowani aktorzy mogą manipulować kluczem zmiennej środowiskowej, aby oszukać uprzywilejowany proces msiexec.exe, co może skutkować tworzeniem folderów w niezamierzonych, potencjalnie złośliwych lokalizacjach. Podatność dotyczy tylko użytkowników Windows instalujących Node.js za pomocą instalatora .msi; inne metody instalacji nie są narażone.

Ocena ryzyka

Może prowadzić do eskalacji uprawnień lub tworzenia złośliwych folderów, co stanowi ryzyko dla integralności systemu.

Rekomendacja

Zaktualizuj Node.js do wersji zawierającej poprawkę lub unikaj instalatora .msi.

Inne podatności w Node.js

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

A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install Node.js using the .msi installer. This vulnerability emerges during the repair operation, where the "msiexec.exe" process, running under the NT AUTHORITY\SYSTEM context, attempts to read the %USERPROFILE% environment variable from the current user's registry. The issue arises when the path referenced by the %USERPROFILE% environment variable does not exist. In such cases, the "msiexec.exe" process attempts to create the specified path in an unsafe manner, potentially leading to the creation of arbitrary folders in arbitrary locations. The severity of this vulnerability is heightened by the fact that the %USERPROFILE% environment variable in the Windows registry can be modified by standard (or "non-privileged") users. Consequently, unprivileged actors, including malicious entities or trojans, can manipulate the environment variable key to deceive the privileged "msiexec.exe" process. This manipulation can result in the creation of folders in unintended and potentially malicious locations. It is important to note that this vulnerability is specific to Windows users who install Node.js using the .msi installer. Users who opt for other installation methods are not affected by this particular issue.

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