CVE DatabaseCVE-2020-0787
한국어 권고문 →
CVE-2020-07877.8/HIGHCISA KEVCWE-59CWE-59

Windows Background Intelligent Transfer Service (BITS) Symbolic Link Local Privilege Escalation Vulnerability (CVE-2020-0787) Technical Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, windows_server
Published Date
2020-03-12
CVSS v3.1
7.8
HIGH
EPSS (30d)
42.5%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Windows 7, 8.1, 10, and Windows Server 2008, 2012, 2016, 2019 utilizing the BITS service

Impact

A local authenticated attacker can exploit improper symbolic link handling to overwrite arbitrary system files and execute code with NT AUTHORITY\SYSTEM privileges

Mitigation

Apply the official Microsoft security updates immediately, or temporarily disable the BITS service and restrict symbolic link creation privileges for non-admin users

Affected Products & Version Scope

Windows 7, 8.1, 10, and Windows Server 2008, 2012, 2016, 2019

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Applying the official cumulative security updates from Microsoft is the primary remediation path. Use the following PowerShell commands to verify patch status or force Windows Update to retrieve the latest security patches.

powershell
# Check if the required security update (KB) is installed on the system
Get-HotFix | Where-Object { $_.HotFixID -match 'KB4540673' -or $_.HotFixID -match 'KB4540674' -or $_.HotFixID -match 'KB4541335' }

# Force Windows Update to download and install missing security patches
Install-Module PSWindowsUpdate -Force -SkipPublisherCheck
Get-WindowsUpdate -KBArticleID 'KB4540673', 'KB4540674' -Install -AcceptAll -AutoReboot

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, mitigate the risk by disabling the BITS service or restricting symbolic link creation privileges via Local Security Policy.

powershell
# Stop and disable the BITS service to prevent exploitation attempts
Stop-Service -Name 'BITS' -Force
Set-Service -Name 'BITS' -StartupType Disabled

# Audit and restrict 'Create symbolic links' privilege (SeCreateSymbolicLinkPrivilege) to Administrators only
# This can be configured via secpol.msc -> Local Policies -> User Rights Assignment

3. Log Audit & IoC Verification Commands

Monitor BITS operational logs for unusual file transfer activities or errors that may indicate exploitation attempts.

powershell
# Query BITS Client Operational logs for job creation and modification events
Get-WinEvent -LogName 'Microsoft-Windows-Bits-Client/Operational' -ErrorAction SilentlyContinue | 
    Where-Object { $_.Id -eq 59 -or $_.Id -eq 60 } | 
    Select-Object TimeCreated, Id, Message | 
    Format-List
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
This vulnerability is actively exploited in the wild; immediately apply the relevant Microsoft security updates to secure your Windows endpoints and servers.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

A local privilege escalation vulnerability exists in the Windows Background Intelligent Transfer Service (BITS) due to improper handling of symbolic links (CWE-59). BITS, which runs under the high-privilege 'NT AUTHORITY\SYSTEM' context, fails to properly validate file paths and directory junctions when moving temporary download files to their final destinations. This design flaw allows a low-privileged user to manipulate the file system structure during the file transfer process.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker with local access creates a BITS transfer job pointing to a temporary directory where they have write permissions. Before BITS completes the transfer and renames/moves the temporary file, the attacker exploits a Time-of-Check to Time-of-Use (TOCTOU) race condition. By replacing the temporary directory or file with a symbolic link pointing to a protected system directory (such as 'C:\Windows\System32'), the attacker tricks the high-privileged BITS service into writing an arbitrary file (e.g., a malicious DLL) into the system directory. This file write can then be leveraged to achieve arbitrary code execution as SYSTEM via DLL hijacking or service binary replacement.

3. Infrastructure & Business Impact

CVE-2020-0787 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. With an EPSS score of 0.4252, this vulnerability is highly attractive to threat actors, including ransomware operators, who use it for local privilege escalation (LPE) after gaining initial access. Successful exploitation compromises the entire host, allowing attackers to dump credentials, establish persistence, and pivot laterally across the enterprise network.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2020-0787)

FAQ

Q1. How critical is CVE-2020-0787 and is it actively exploited in the wild?

CVE-2020-0787 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 42.5%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2020-0787?

Primary impacted vendors include microsoft across windows, windows_server. Scope summary: Windows 7, 8.1, 10, and Windows Server 2008, 2012, 2016, 2019

Q3. What temporary mitigations or workarounds exist for CVE-2020-0787 before patching?

[Mitigation] Apply the official Microsoft security updates immediately, or temporarily disable the BITS service and restrict symbolic link creation privileges for non-admin users Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2020-0787

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2020-0787 Windows Background Intelligent Transfer Service (BITS) Symbolic Link Local Privilege Escalation Vulnerability (CVE-2020-0787) Technical Advisory (CVSS 7.8) - Patch & Workaround | CVE Pulse