CVE-2017-0148

HIGH(8.1)KEVRansomwareLikely Exploited

Microsoft SMBv1 Server Remote Code Execution Vulnerability

Description

CVE-2017-0148 is a remote code execution vulnerability in Microsoft's SMBv1 server implementation, closely related to the notorious EternalBlue exploit (MS17-010). The flaw allows unauthenticated attackers to send specially crafted packets to an SMBv1 server to execute arbitrary code with SYSTEM privileges. This vulnerability was weaponized in the devastating WannaCry and NotPetya ransomware campaigns that caused billions of dollars in damage worldwide. It has been added to CISA's Known Exploited Vulnerabilities (KEV) catalog with confirmed ransomware associations, and carries an EPSS score of 97.5% (99.9th percentile).

KEV Information

Vendor
Microsoft
Product
SMBv1 server
Date Added
April 6, 2022
Due Date
April 27, 2022
Required Action
Apply updates per vendor instructions.

CVSS Score

Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in Calculator
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.2
Impact Score
5.9

CWEs

Affected Products

VendorProductVersion
microsoftserver message block1.0
siemensacuson p300 firmware13.02; 13.03; 13.20; 13.21
siemensacuson p500 firmwareva10; vb10
siemensacuson sc2000 firmware>= 4.0, < 4.0e; 5.0a
siemensacuson x700 firmware1.0; 1.1
siemenssyngo sc2000 firmware>= 4.0, <= 4.0e; 5.0a
siemenstissue preparation system firmwareAll versions
siemensversant kpcr molecular system firmwareAll versions
siemensversant kpcr sample prep firmwareAll versions

Multiple CVSS Assessments

Source: [email protected](Primary)
8.1
HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0(Secondary)
8.1
HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Weakness Type

CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

This weakness involves performing operations on a memory buffer without properly ensuring that read and write actions stay within the buffer's boundaries. In CVE-2017-0148, the SMBv1 server fails to properly handle certain transaction request types, leading to a buffer overflow that enables remote code execution. For more details, see CWE-119.

Impact Analysis

The impact of CVE-2017-0148 has been demonstrated at a global scale through the WannaCry and NotPetya attacks. Successful exploitation provides SYSTEM-level access to the target machine, the highest privilege level on Windows systems. The vulnerability is network-exploitable without authentication, allowing attackers to compromise systems by simply having network access to port 445. The wormable nature enabled automated propagation across networks, leading to catastrophic organizational damage including hospital system shutdowns, shipping logistics paralysis, and manufacturing downtime. This vulnerability remains a significant threat as many legacy systems continue to run unpatched SMBv1.

Exploit Maturity

CVE-2017-0148 is one of the most extensively exploited vulnerabilities in history and was added to CISA's KEV catalog on April 6, 2022, with confirmed ransomware use (Known). The EPSS score of 97.5% (99.9th percentile) reflects the near-universal exploitation. The EternalBlue exploit was originally developed by the NSA and leaked by the Shadow Brokers group in April 2017. It was subsequently integrated into WannaCry, NotPetya, and numerous other malware campaigns. Exploit code remains widely available and actively used by threat actors of all sophistication levels.

Remediation

  1. Apply Microsoft security update MS17-010 immediately if not already applied, as required by CISA's KEV catalog. This critical patch has been available since March 2017.
  2. Disable SMBv1 on all systems where it is not absolutely required. Use PowerShell: Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol.
  3. Block SMB traffic (TCP port 445) at the network perimeter to prevent external exploitation attempts.
  4. Implement network segmentation to limit SMB traffic between systems, reducing the potential for lateral worm-like propagation.
  5. Conduct a thorough inventory of all systems still running SMBv1 and develop a migration plan to SMBv2/v3 or modern alternatives.

Technical Details

CVE-2017-0148 exists in the Windows SMBv1 server driver (srv.sys) and is triggered by sending specially crafted SMB transaction requests. The vulnerability occurs during the processing of SMB_COM_TRANSACTION2 and SMB_COM_NT_TRANSACT requests, where the server fails to properly validate the TotalDataCount and related fields. By sending a carefully crafted sequence of SMB packets that manipulates the server's memory allocation and transaction handling, an attacker can achieve a buffer overflow that overwrites critical kernel structures. The exploit leverages the kernel pool allocation behavior to achieve reliable code execution at the SYSTEM privilege level. The entire attack can be performed remotely through TCP port 445 without any form of authentication.

Frequently Asked Questions

What is CVE-2017-0148?

CVE-2017-0148 is one of several vulnerabilities in Microsoft's SMBv1 protocol addressed by the MS17-010 security update. It is part of the EternalBlue exploit chain that was used in the WannaCry and NotPetya ransomware campaigns. The vulnerability allows remote code execution with SYSTEM privileges.

How is this related to EternalBlue?

EternalBlue is the exploit name for the MS17-010 vulnerability family, which includes CVE-2017-0148 along with several related SMBv1 flaws. The exploit was developed by the NSA and leaked by the Shadow Brokers group in 2017, after which it was rapidly weaponized by ransomware operators.

Is my system still at risk in 2024?

If your systems have been updated with Microsoft patches from March 2017 or later, they are protected against this specific vulnerability. However, organizations with legacy systems, unmanaged devices, or systems that cannot be updated may still be at risk. SMBv1 should be disabled wherever possible.

What was the impact of WannaCry and NotPetya?

WannaCry infected over 200,000 systems in 150 countries in May 2017, causing estimated damages of billions of dollars. NotPetya, which struck in June 2017, caused over $10 billion in damages and severely impacted major corporations including Maersk, Merck, and FedEx. Both leveraged CVE-2017-0148 and related SMBv1 vulnerabilities for propagation.

CVSS Score

8.1
HIGH(8.1)

EPSS Score

EPSS Score99.37%
EPSS Percentile99.9%

Dates

PublishedMarch 17, 2017
Last ModifiedJune 17, 2026
StatusAnalyzed
CVSS Versionv3.1

Need Help With Vulnerability Management?

Our security experts can help you prioritize and remediate vulnerabilities effectively.