{"id":"CVE-2022-4149","published":"2023-06-15T06:44:25Z","modified":"2024-12-12T17:05:07Z","title":"Local privilege escalation using log file","vendor":"Netskope","product":"Netskope Client","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00161,"percentile":0.05342,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://www.netskope.com/company/security-compliance-and-assurance/security-advisories-and-disclosures/netskope-security-advisory-nskpsa-2023-002","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.07},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"netskope","affectedVersions":[{"vendor":"Netskope","product":"Netskope Client","versions":["95, 0"]}],"solutions":{"items":["Netskope has patched the vulnerability and released a binary with a fix. Customers are recommended to upgrade their Netskope clients to v100 or later. Netskope download Instructions – Download Netskope Client and Scripts – Netskope Support https://support.netskope.com/s/article/Download-Netskope-Client-and-Scripts"],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-12-12T17:04:43.872061Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-51510","exploited":false,"provenance":"source"}}