cve/2024/CVE-2024-32019.md

27 lines
1.8 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-32019](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32019)
![](https://img.shields.io/static/v1?label=Product&message=netdata&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%201.45.0%2C%20%3C%201.45.3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-426%3A%20Untrusted%20Search%20Path&color=brighgreen)
### Description
Netdata is an open source observability tool. In affected versions the `ndsudo` tool shipped with affected versions of the Netdata Agent allows an attacker to run arbitrary programs with root permissions. The `ndsudo` tool is packaged as a `root`-owned executable with the SUID bit set. It only runs a restricted set of external commands, but its search paths are supplied by the `PATH` environment variable. This allows an attacker to control where `ndsudo` looks for these commands, which may be a path the attacker has write access to. This may lead to local privilege escalation. This vulnerability has been addressed in versions 1.45.3 and 1.45.2-169. Users are advised to upgrade. There are no known workarounds for this vulnerability.
### POC
#### Reference
- https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93
#### Github
2025-09-29 16:08:36 +00:00
- https://github.com/AliElKhatteb/CVE-2024-32019-POC
- https://github.com/AzureADTrent/CVE-2024-32019-POC
- https://github.com/C0deInBlack/CVE-2024-32019-poc
- https://github.com/T1erno/CVE-2024-32019-Netdata-ndsudo-Privilege-Escalation-PoC
- https://github.com/dollarboysushil/CVE-2024-32019-Netdata-ndsudo-PATH-Vulnerability-Privilege-Escalation
- https://github.com/juanbelin/CVE-2024-32019-POC
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/sPhyos/cve-2024-32019-PoC
- https://github.com/x0da6h/POC-for-CVE-2024-32019
- https://github.com/zulloper/cve-poc
2024-05-25 21:48:12 +02:00