This module exploits CVE-2020-0787, an arbitrary file move vulnerability in outdated versions of the Background Intelligent Transfer Service (BITS), to overwrite C:\Windows\System32\WindowsCoreDeviceInfo.dll with a malicious DLL containing the attacker's payload. To achieve code execution as the SYSTEM user, the Update Session Orchestrator service is then started, which will result in the malicious WindowsCoreDeviceInfo.dll being run with SYSTEM privileges due to a DLL hijacking issue within the Update Session Orchestrator Service. Note that presently this module only works on Windows 10 and Windows Server 2016 and later as the Update Session Orchestrator Service was only introduced in Windows 10. Note that only Windows 10 has been tested, so your mileage may vary on Windows Server 2016 and later.
Exploit database
Vulnerability
CVE-2020-0787
Vulnerability details
- Score
- 7.8
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDescription
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'.
CVE ProgramExploit source choices
9 sourcesBackground Intelligent Transfer Service Arbitrary File Move Privilege Elevation Vulnerability
2020-03-10cve_2020_0787_bits_arbitrary_file_move.rb
ascotbe/kernelhub
:palm_tree:Linux、macOS、Windows Kernel privilege escalation vulnerability collection, with compilation environment, demo GIF map, vulnerability details, executable file (提权漏洞合集)
2020-08-091,837 files · 3,202 stars
cbwang505/cve-2020-0787-exp-all-windows-version
Support ALL Windows Version
2020-06-1641 files · 721 stars
al1ex/windowselevation
Windows Elevation(持续更新)
2021-03-291,045 files · 665 stars
cbwang505/cve-2020-1066-exp
CVE-2020-1066-EXP支持Windows 7和Windows Server 2008 R2操作系统
2020-06-0178 files · 187 stars
yanghaoi/cve-2020-0787
CVE-2020-0787的简单回显
2021-11-1640 files · 34 stars
albinjoshy03/windows-kernel-exploits
albinjoshy03/windows-kernel-exploits source repository
2023-04-26433 files · 2 stars
asr511-oo7/windows-kernel-exploits
asr511-oo7/windows-kernel-exploits source repository
2021-08-26433 files · 2 stars
alian87/windows-kernel-exploits
alian87/windows-kernel-exploits source repository
2023-06-14433 files · 0 stars