Skip to content

CVE-2017-0148 — The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1;…

Key facts

CVE-2017-0148 is a High (8.1) vulnerability: The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1;…. This entry ships a detection-only PoC and a Docker test lab. It is on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2022-04-06), confirming active exploitation in the wild, and is linked to known ransomware campaigns.

Actively exploited — on the CISA KEV catalog

CVE-2017-0148 is listed on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2022-04-06), confirming exploitation in the wild. It is linked to known ransomware campaigns. Federal remediation deadline: 2022-04-27. Prioritise patching and deploy the detection and prevention rules below.

CVE CVE-2017-0148
Severity High (8.1)
CISA KEV Actively exploited (added 2022-04-06) · ransomware
Detection / prevention —
PoC poc.py
Source 2017/CVE-2017-0148/

Details

English | 한국어

Description

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-0143, CVE-2017-0144, CVE-2017-0145, and CVE-2017-0146.

Vulnerability Details

Property Value
CVE ID CVE-2017-0148
Type RCE
CVSS Score 8.1

Proof of Concept

Download

# Download PoC script
curl -O https://raw.githubusercontent.com/fankh/vulnerability-poc/main/2017/CVE-2017-0148/poc.py

Usage

# Run PoC against target
python3 poc.py --target <TARGET_URL>

# With authentication
python3 poc.py --target <TARGET_URL> --username <USER> --password <PASS>

⚠️ Warning: This PoC is for authorized security testing only. It uses detection-only techniques and does not exploit or damage target systems.

Test Lab

This repository includes a Docker-based test environment with both vulnerable and patched applications.

Quick Start

# Clone and navigate to CVE directory
cd CVE-2017-0148

# Start both applications
docker-compose up -d

# Run tests
./run-tests.sh    # Linux/Mac
./run-tests.ps1   # Windows PowerShell

Application Endpoints

Application URL Status
Vulnerable App http://localhost:8080 Shows vulnerability
Patched App http://localhost:8081 Demonstrates fix

Directory Structure

├── README.md           # English documentation
├── README_KO.md        # Korean documentation
├── poc.py              # PoC detection script
├── docker-compose.yml  # Container orchestration
├── run-tests.sh        # Linux/Mac test runner
├── run-tests.ps1       # Windows test runner
├── vulnerable-app/     # Vulnerable version
│   ├── app.py
│   ├── Dockerfile
│   └── requirements.txt
└── patched-app/        # Fixed version
    ├── app.py
    ├── Dockerfile
    └── requirements.txt

References

  • http://packetstormsecurity.com/files/154690/DOUBLEPULSAR-Payload-Execution-Neutralization.html
  • http://packetstormsecurity.com/files/156196/SMB-DOUBLEPULSAR-Remote-Code-Execution.html
  • http://www.securityfocus.com/bid/96706
  • http://www.securitytracker.com/id/1037991
  • https://cert-portal.siemens.com/productcert/pdf/ssa-701903.pdf
  • https://cert-portal.siemens.com/productcert/pdf/ssa-966341.pdf
  • https://ics-cert.us-cert.gov/advisories/ICSMA-18-058-02
  • https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0148
  • https://www.exploit-db.com/exploits/41891/
  • https://www.exploit-db.com/exploits/41987/
  • http://packetstormsecurity.com/files/154690/DOUBLEPULSAR-Payload-Execution-Neutralization.html
  • http://packetstormsecurity.com/files/156196/SMB-DOUBLEPULSAR-Remote-Code-Execution.html
  • http://www.securityfocus.com/bid/96706
  • http://www.securitytracker.com/id/1037991
  • https://cert-portal.siemens.com/productcert/pdf/ssa-701903.pdf
  • https://cert-portal.siemens.com/productcert/pdf/ssa-966341.pdf
  • https://ics-cert.us-cert.gov/advisories/ICSMA-18-058-02
  • https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0148
  • https://www.exploit-db.com/exploits/41891/
  • https://www.exploit-db.com/exploits/41987/
  • https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-0148

Generated by PoC Generator on 2026-07-30T22:28:21.022827418

Frequently asked questions

What is CVE-2017-0148?

CVE-2017-0148 is a High (8.1) vulnerability: The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1;…. This entry ships a detection-only PoC and a Docker test lab. It is on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2022-04-06), confirming active exploitation in the wild, and is linked to known ransomware campaigns.

How do I detect CVE-2017-0148?

Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.

How do I block or mitigate CVE-2017-0148?

Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.

Is CVE-2017-0148 actively exploited?

Yes. CVE-2017-0148 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, added 2022-04-06, which means it has been exploited in the wild. CISA also links it to known ransomware campaigns. CISA set a federal remediation deadline of 2022-04-27. Prioritise patching and deploy the detection and prevention rules above.


For authorized security testing and research only. See the full source and NVD record.