CVE-2022-4149 Local privilege escalation using log file
A local attacker can exploit a race condition in the Netskope Client log file handling to escalate privileges to SYSTEM.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-4149?
CVE-2022-4149 is a high-severity vulnerability in Netskope Client, published on 15 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The Netskope client service (prior to R96) on Windows runs as NT AUTHORITY\SYSTEM which writes log files to a writable directory (C:\Users\Public\netSkope) for a standard user. The files are created and written with a SYSTEM account except one file (logplaceholder) which inherits permission giving all users full access control list. Netskope client restricts access to this file by allowing only read permissions as a standard user. Whenever the Netskope client service restarts, it deletes the logplaceholder and recreates, creating a race condition, which can be exploited by a malicious local user to create the file and set ACL permissions on the file. Once the file is created by a malicious user with proper ACL permissions, all files within C:\Users\Public\netSkope\ becomes modifiable by the unprivileged user. By using Windows pseudo-symlink, these files can be pointed to other places in the system and thus malicious users will be able to elevate privileges.
Weakness: CWE-367
Which versions are affected by CVE-2022-4149?
It affects 1 product.
Products include Netskope Netskope.
How do I fix CVE-2022-4149?
No fix has been published for CVE-2022-4149 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-4149 being exploited?
There is no known exploitation of CVE-2022-4149 in the wild and no public exploit code.
Other vulnerabilities in Netskope Client
Sources
Also known as GHSA-hrcj-xqpr-q9q7.