CVE-2024-54131
JSON

7.3high

Kolide Agent Privilege Escalation (Windows, Versions >= 1.5.3, < 1.12.3)

Severity
7.3high CVSS:4.0 by GitHub_M
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-66q9-2rvx-qfj5GO-2024-3308

Description

The Kolide Agent (aka: Launcher) is the lightweight agent designed to work with Kolide's service. An implementation bug in the Kolide Agent (known as `launcher`) allows for local privilege escalation to the SYSTEM user on Windows 10 and 11. The bug was introduced in version 1.5.3 when launcher started storing upgraded binaries in the ProgramData directory. This move to the new directory meant the launcher root directory inherited default permissions that are not as strict as the previous location. These incorrect default permissions in conjunction with an omitted SystemDrive environmental variable (when launcher starts osqueryd), allows a malicious actor with access to the local Windows device to successfully place an arbitrary DLL into the osqueryd process's search path. Under some circumstances, this DLL will be executed when osqueryd performs a WMI query. This combination of events could then allow the attacker to escalate their privileges to SYSTEM. Impacted versions include versions >= 1.5.3 and the fix has been released in 1.12.3.

Affected

Product or packageVersionsReported by
kolide launcher>= 1.5.3, < 1.12.3, from 1.5.3 before 1.12.3CVE List
github.com/kolide/launcher (Go)from 1.5.3 before 1.12.3GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M7.3high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Classification

CWE-276CWE-456

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

The Kolide Agent (aka: Launcher) is the lightweight agent designed to work with Kolide's service. An implementation bug in the Kolide Agent (known as `launcher`) allows for local privilege escalation to the SYSTEM user on Windows 10 and 11. The bug was introduced in version 1.5.3 when launcher started storing upgraded binaries in the ProgramData directory. This move to the new directory meant the launcher root directory inherited default permissions that are not as strict as the previous location. These incorrect default permissions in conjunction with an omitted SystemDrive environmental variable (when launcher starts osqueryd), allows a malicious actor with access to the local Windows device to successfully place an arbitrary DLL into the osqueryd process's search path. Under some circumstances, this DLL will be executed when osqueryd performs a WMI query. This combination of events could then allow the attacker to escalate their privileges to SYSTEM. Impacted versions include versions >= 1.5.3 and the fix has been released in 1.12.3.

GitHub Advisory Database

An implementation bug in the Kolide Agent (known as launcher) allows for local privilege escalation to the SYSTEM user on Windows 10 and 11. Impacted versions include versions >= 1.5.3 and the fix has been released in 1.12.3.

The bug was introduced in version 1.5.3 when launcher started storing upgraded binaries in the ProgramData directory (#1510). This move to the new directory meant the launcher root directory inherited default permissions that are not as strict as the previous location. These incorrect default permissions in conjunction with an omitted SystemDrive environmental variable (when launcher starts osqueryd), allows a malicious actor with access to the local Windows device to successfully place an arbitrary DLL into the osqueryd process's search path. Under some circumstances, this DLL will be executed when osqueryd performs a WMI query. This combination of events could then allow the attacker to escalate their privileges to SYSTEM.

This issue was found by Bryan Alexander of Atredis Partners and responsibly reported through the Kolide bug bounty program. Kolide made the appropriate changes and released a fix in version 1.12.3 of the launcher package.

Go Vulnerability Database

Kolide Agent Privilege Escalation (Windows, Versions >= 1.5.3, < 1.12.3) in github.com/kolide/launcher

NVD (es)

El agente Kolide (también conocido como Launcher) es el agente liviano diseñado para funcionar con el servicio de Kolide. Un error de implementación en el agente Kolide (conocido como `launcher`) permite la escalada de privilegios locales al usuario SYSTEM en Windows 10 y 11. El error se introdujo en la versión 1.5.3 cuando el launcher comenzó a almacenar binarios actualizados en el directorio ProgramData. Este movimiento al nuevo directorio significó que el directorio root del launcher heredó permisos predeterminados que no son tan estrictos como la ubicación anterior. Estos permisos predeterminados incorrectos junto con una variable de entorno SystemDrive omitida (cuando el launcher inicia osqueryd), permiten que un actor malintencionado con acceso al dispositivo local de Windows coloque con éxito una DLL arbitraria en la ruta de búsqueda del proceso osqueryd. En algunas circunstancias, esta DLL se ejecutará cuando osqueryd realice una consulta WMI. Esta combinación de eventos podría permitir al atacante escalar sus privilegios a SYSTEM. Las versiones afectadas incluyen versiones &gt;= 1.5.3 y la solución se lanzó en 1.12.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-54131 changed 2024-12-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-66q9-2rvx-qfj5 changed 2024-12-04CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3308 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-54131 changed 2026-06-17Public domain