Vulnerability Details : CVE-2017-0147
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 obtain sensitive information from process memory via a crafted packets, aka "Windows SMB Information Disclosure Vulnerability."
Vulnerability category: Information leak
At least one public exploit which can be used to exploit this vulnerability exists!
CVE-2017-0147
is in the CISA Known Exploited Vulnerabilities Catalog
CISA vulnerability name:
Microsoft Windows SMBv1 Information Disclosure Vulnerability
CISA required action:
Apply updates per vendor instructions.
CISA description:
The SMBv1 server in Microsoft Windows allows remote attackers to obtain sensitive information from process memory via a crafted packet.
Added on
2022-05-24
Action due date
2022-06-14
Exploit prediction scoring system (EPSS) score for CVE-2017-0147
Probability of exploitation activity in the next 30 days: 97.18%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 100 % EPSS Score History EPSS FAQ
Metasploit modules for CVE-2017-0147
-
SMB DOUBLEPULSAR Remote Code Execution
Disclosure 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 Execution
Disclosure 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 Corruption
Disclosure 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 Execution
Disclosure 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 Detection
auxiliary/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-0147
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:N/A:N |
8.6
|
2.9
|
[email protected] |
5.9
|
MEDIUM | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
2.2
|
3.6
|
[email protected] |
CWE ids for CVE-2017-0147
-
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.Assigned by: [email protected] (Primary)
References for CVE-2017-0147
- http://packetstormsecurity.com/files/156196/SMB-DOUBLEPULSAR-Remote-Code-Execution.html
- https://ics-cert.us-cert.gov/advisories/ICSMA-18-058-02
- http://packetstormsecurity.com/files/154690/DOUBLEPULSAR-Payload-Execution-Neutralization.html
-
https://www.exploit-db.com/exploits/41987/
Third Party Advisory;VDB Entry
- https://www.exploit-db.com/exploits/43970/
-
http://www.securitytracker.com/id/1037991
Third Party Advisory;VDB Entry
-
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0147
Patch;Vendor Advisory
-
http://www.securityfocus.com/bid/96709
Third Party Advisory;VDB Entry
- https://cert-portal.siemens.com/productcert/pdf/ssa-966341.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-701903.pdf
-
https://www.exploit-db.com/exploits/41891/
Third Party Advisory;VDB Entry
Products affected by CVE-2017-0147
- cpe:2.3:a:microsoft:server_message_block:1.0:*:*:*:*:*:*:*When used together with: Microsoft » Windows 10When used together with: Microsoft » Windows 8.1