1. CVE archive
  2. 2022
  3. CVE-2022-21997

CVE-2022-21997

7.1 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H 7.1 – High

Description

Windows Print Spooler Elevation of Privilege Vulnerability

Affected products

VendorProductVersionPlatform
microsoft windows 10 all –
microsoft windows 10 all –
microsoft windows 10 20h2 –
microsoft windows 10 20h2 –
microsoft windows 10 20h2 –
microsoft windows 10 21h1 –
microsoft windows 10 21h1 –
microsoft windows 10 21h1 –
microsoft windows 10 21h2 –
microsoft windows 10 21h2 –
microsoft windows 10 21h2 –
microsoft windows 10 1607 –
microsoft windows 10 1607 –
microsoft windows 10 1809 –
microsoft windows 10 1809 –
microsoft windows 10 1809 –
microsoft windows 10 1909 –
microsoft windows 10 1909 –
microsoft windows 10 1909 –
microsoft windows 11 all –
microsoft windows 11 all –
microsoft windows 7 sp1 –
microsoft windows 7 sp1 –
microsoft windows 8.1 all –
microsoft windows 8.1 all –
microsoft windows rt 8.1 all –
microsoft windows server 20h2 –
microsoft windows server 2022 –
microsoft windows server 2008 all sp2 –
microsoft windows server 2008 all sp2 –
microsoft windows server 2008 r2 sp1 –
microsoft windows server 2012 all –
microsoft windows server 2012 r2 –
microsoft windows server 2016 all –
microsoft windows server 2019 all –
All 2,976 Microsoft Windows 10 vulnerabilities

Vulnerability type

CWE-59 Improper Link Resolution Before File Access

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Access Control Read Files or Directories, Modify Files or Directories, Bypass Protection Mechanism
An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpected files. If the files are used for a security mechanism then an attacker may be able to bypass the mechanism.
Other Execute Unauthorized Code or Commands
Windows simple shortcuts, sometimes referred to as soft links, can be exploited remotely since a .LNK file can be uploaded like a normal file. This can enable remote execution.

How to prevent it

Architecture and Design · Separation of Privilege Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

All 1,887 CWE-59 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org