CyberSecBulletin
CVE-2020-0787Exploited in the wildNVD status: Analyzed

Microsoft Windows Background Intelligent Transfer Service (BITS) Improper Privilege Management

CVE-2020-0787 is a high-severity improper link resolution before file access vulnerability in Windows from Microsoft, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. Affected Windows versions: 10 Version 1803 for 32-bit Systems; 10 Version 1803 for x64-based Systems; 10 Version 1803 for ARM64-based Systems, and others listed below. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on January 28, 2022, which means attacks have been observed in the wild, including in ransomware campaigns.

Patch now

Attackers are already exploiting this vulnerability, according to CISA.

What to do

  1. Check which version of Windows you run against the affected versions below, and install the vendor's latest release.
  2. CISA's required action: Apply updates per vendor instructions.
  3. Read the advisory on portal.msrc.microsoft.com for workarounds and exact fixed builds.
  4. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
MicrosoftWindows10 Version 1803 for 32-bit Systems; 10 Version 1803 for x64-based Systems; 10 Version 1803 for ARM64-based Systems; 10 Version 1809 for 32-bit Systems; 10 Version 1809 for x64-based Systems; 10 Version 1809 for ARM64-based Systems; 10 Version 1709 for 32-bit Systems; 10 Version 1709 for x64-based Systems; and 10 more rangesNot stated
MicrosoftWindows Serverversion 1803 (Core Installation); 2019; 2019 (Core installation); 2016; 2016 (Core installation); 2008 for 32-bit Systems Service Pack 2; 2008 for 32-bit Systems Service Pack 2 (Core installation); 2008 for Itanium-Based Systems Service Pack 2; and 7 more rangesNot stated
MicrosoftWindows 10 Version 1909 for 32-bit SystemsNot specified in the recordNot stated
MicrosoftWindows 10 Version 1909 for x64-based SystemsNot specified in the recordNot stated
MicrosoftWindows 10 Version 1909 for ARM64-based SystemsNot specified in the recordNot stated
MicrosoftWindows Server, version 1909 (Server Core installation)Not specified in the recordNot stated
MicrosoftWindows 10 Version 1903 for 32-bit SystemsNot specified in the recordNot stated
MicrosoftWindows 10 Version 1903 for x64-based SystemsNot specified in the recordNot stated
MicrosoftWindows 10 Version 1903 for ARM64-based SystemsNot specified in the recordNot stated
MicrosoftWindows Server, version 1903 (Server Core installation)Not specified in the recordNot stated
MicrosoftWindows 10 1507Not specified in the recordNot stated
MicrosoftWindows 10 1607Not specified in the recordNot stated
MicrosoftWindows 10 1709Not specified in the recordNot stated
MicrosoftWindows 10 1803Not specified in the recordNot stated
MicrosoftWindows 10 1809Not specified in the recordNot stated
MicrosoftWindows 10 1903Not specified in the recordNot stated
MicrosoftWindows 10 1909Not specified in the recordNot stated
MicrosoftWindows 7Not specified in the recordNot stated
MicrosoftWindows 8.1Not specified in the recordNot stated
MicrosoftWindows Rt 8.1Not specified in the recordNot stated
MicrosoftWindows Server 1803Not specified in the recordNot stated
MicrosoftWindows Server 1903Not specified in the recordNot stated
MicrosoftWindows Server 1909Not specified in the recordNot stated
MicrosoftWindows Server 2008r2Not stated
MicrosoftWindows Server 2012r2Not stated

Version data comes from the organisation that assigned the CVE; 2 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.8HighNVD
CVSS 3.17.8HighCISA (ADP)
CVSS 2.07.2HighNVD

Official description

An elevation of privilege vulnerability exists when the Windows Background Intelligent Transfer Service (BITS) improperly handles symbolic links, aka 'Windows Background Intelligent Transfer Service Elevation of Privilege Vulnerability'.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: 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.

How developers prevent this class of flaw

  • 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.

More Improper Link Resolution Before File Access vulnerabilities (CWE-59)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
  3. Added to CISA's Known Exploited Vulnerabilities catalogue.
  4. Deadline for US federal agencies to remediate, set by CISA.
  5. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Technical write-ups (may include proof of concept)

Other vulnerabilities in Windows

All Windows vulnerabilities

Recent Improper Link Resolution Before File Access vulnerabilities

Spotted an error? Tell us.