CVE-2022-29799 Path traversal in networkd-dispatcher
Attackers can exploit unsanitized state inputs to traverse directories and access or modify files outside the intended configuration directory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-29799?
CVE-2022-29799 is a medium-severity path traversal vulnerability in networkd-dispatcher, published on 21 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in networkd-dispatcher. This flaw exists because no functions are sanitized by the OperationalState or the AdministrativeState of networkd-dispatcher. This attack leads to a directory traversal to escape from the “/etc/networkd-dispatcher” base directory.
Weakness: CWE-22
Which versions are affected by CVE-2022-29799?
It affects 1 product.
Products include Microsoft Windows Defender for Endpoint.
How do I fix CVE-2022-29799?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-29799 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-29799 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in networkd-dispatcher
Sources
Also known as DEBIAN-CVE-2022-29799, GHSA-637r-47cq-j74p, UBUNTU-CVE-2022-29799.