# CVE-2022-4149: Local privilege escalation using log file

- Vendor: Netskope, Netskope Client
- Severity: HIGH (CVSS 3.1 7)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-11-23
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: NSKPSA-2023-002, https://www.netskope.com/company/security-compliance-and-assurance/security-advisories-and-disclosures/netskope-security-advisory-nskpsa-2023-002
- Published: 2023-06-15; updated: 2023-06-15
- Page: https://patchtonight.com/cve/CVE-2022-4149/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Netskope Client (Windows) 95, 0 | See the advisory |

## The vendor's 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.

## Workarounds

Netskope recommends using hardening guidelines listed here - –  https://docs.netskope.com/en/netskope-client-hardening.html https://docs.netskope.com/en/netskope-client-hardening.html

## Sources

- [Netskope advisory](https://www.netskope.com/company/security-compliance-and-assurance/security-advisories-and-disclosures/netskope-security-advisory-nskpsa-2023-002)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
