Vulnerability Details : CVE-2017-0143
The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka "Windows SMB Remote Code Execution Vulnerability." This vulnerability is different from those described in CVE-2017-0144, CVE-2017-0145, CVE-2017-0146, and CVE-2017-0148.
Vulnerability category: Input validationExecute code
Published 2017-03-17 00:59:04
Updated 2018-06-21 01:29:00
Source Microsoft Corporation
At least one public exploit which can be used to exploit this vulnerability exists!
CVE-2017-0143 is in the CISA Known Exploited Vulnerabilities Catalog
CISA vulnerability name:Microsoft Windows Server Message Block (SMBv1) Remote Code Execution Vulnerability
CISA required action:Apply updates per vendor instructions.
CISA description:Microsoft Windows Server Message Block 1.0 (SMBv1) contains an unspecified vulnerability that allows for remote code execution.
Added on 2021-11-03 Action due date 2022-05-03
Exploit prediction scoring system (EPSS) score for CVE-2017-0143
Probability of exploitation activity in the next 30 days: 97.33%
Metasploit modules for CVE-2017-0143
SMB DOUBLEPULSAR Remote Code ExecutionDisclosure Date : 2017-04-14exploit/windows/smb/smb_doublepulsar_rceThis module executes a Metasploit payload against the Equation Group's DOUBLEPULSAR implant for SMB as popularly deployed by ETERNALBLUE. While this module primarily performs code execution against the implant, the "Neutralize implant" target allows you to disable the implant. Authors: - Equation Group - Shadow Brokers - zerosum0x0 - Luke Jennings - wvu <[email protected]> - Jacob Robles
MS17-010 EternalRomance/EternalSynergy/EternalChampion SMB Remote Windows Command ExecutionDisclosure Date : 2017-03-14auxiliary/admin/smb/ms17_010_commandThis module will exploit SMB with vulnerabilities in MS17-010 to achieve a write-what-where primitive. This will then be used to overwrite the connection session information with as an Administrator session. From there, the normal psexec command execution is done. Exploits a type confusion between Transaction and WriteAndX requests and a race condition in Transaction requests, as seen in the EternalRomance, EternalChampion, and EternalSynergy exploits. This exploit chain is more reliable than the EternalBlue exploit, but requires a named pipe. Authors: - sleepya - zerosum0x0 - Shadow Brokers - Equation Group
MS17-010 EternalBlue SMB Remote Windows Kernel Pool CorruptionDisclosure Date : 2017-03-14exploit/windows/smb/ms17_010_eternalblueThis module is a port of the Equation Group ETERNALBLUE exploit, part of the FuzzBunch toolkit released by Shadow Brokers. There is a buffer overflow memmove operation in Srv!SrvOs2FeaToNt. The size is calculated in Srv!SrvOs2FeaListSizeToNt, with mathematical error where a DWORD is subtracted into a WORD. The kernel pool is groomed so that overflow is well laid-out to overwrite an SMBv1 buffer. Actual RIP hijack is later completed in srvnet!SrvNetWskReceiveComplete. This exploit, like the original may not trigger 100% of the time, and should be run continuously until triggered. It seems like the pool will get hot streaks and need a cool down period before the shells rain in again. The module will attempt to use Anonymous login, by default, to authenticate to perform the exploit. If the user supplies credentials in the SMBUser, SMBPass, and SMBDomain options it wi
MS17-010 EternalRomance/EternalSynergy/EternalChampion SMB Remote Windows Code ExecutionDisclosure Date : 2017-03-14exploit/windows/smb/ms17_010_psexecThis module will exploit SMB with vulnerabilities in MS17-010 to achieve a write-what-where primitive. This will then be used to overwrite the connection session information with as an Administrator session. From there, the normal psexec payload code execution is done. Exploits a type confusion between Transaction and WriteAndX requests and a race condition in Transaction requests, as seen in the EternalRomance, EternalChampion, and EternalSynergy exploits. This exploit chain is more reliable than the EternalBlue exploit, but requires a named pipe. Authors: - sleepya - zerosum0x0 - Shadow Brokers - Equation Group
MS17-010 SMB RCE Detectionauxiliary/scanner/smb/smb_ms17_010Uses information disclosure to determine if MS17-010 has been patched or not. Specifically, it connects to the IPC$ tree and attempts a transaction on FID 0. If the status returned is "STATUS_INSUFF_SERVER_RESOURCES", the machine does not have the MS17-010 patch. If the machine is missing the MS17-010 patch, the module will check for an existing DoublePulsar (ring 0 shellcode/malware) infection. This module does not require valid SMB credentials in default server configurations. It can log on as the user "\" and connect to IPC$. Authors: - Sean Dillon <[email protected]> - Luke Jennings
CVSS scores for CVE-2017-0143
|Base Score||Base Severity||CVSS Vector||Exploitability Score||Impact Score||Source|
CWE ids for CVE-2017-0143
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: [email protected] (Primary)
References for CVE-2017-0143
Products affected by CVE-2017-0143