The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-34504

CVE-2021-34504: Windows 10 Address Book RCE Vulnerability

CVE-2021-34504 is a remote code execution vulnerability in Windows 10 Address Book that enables attackers to execute arbitrary code. This article covers technical details, affected versions, security impact, and mitigation.

Published: February 25, 2026

CVE-2021-34504 Overview

CVE-2021-34504 is a Remote Code Execution vulnerability affecting the Windows Address Book component across multiple versions of Microsoft Windows operating systems. This vulnerability allows an attacker to execute arbitrary code on a target system when a user opens a specially crafted file. The attack requires local access and user interaction, meaning a victim must be convinced to open a malicious file for exploitation to occur.

Critical Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code with the same privileges as the logged-on user, potentially leading to complete system compromise, data theft, or lateral movement within an organization's network.

Affected Products

  • Microsoft Windows 10 (multiple versions including 1607, 1809, 1909, 2004, 20H2, 21H1)
  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1
  • Microsoft Windows RT 8.1
  • Microsoft Windows Server 2008 SP2 and R2 SP1
  • Microsoft Windows Server 2012 and R2
  • Microsoft Windows Server 2016 (including 2004, 20H2)
  • Microsoft Windows Server 2019

Discovery Timeline

  • July 14, 2021 - CVE-2021-34504 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-34504

Vulnerability Analysis

This Remote Code Execution vulnerability exists within the Windows Address Book (WAB) component, which is used to store contact information across Windows applications. The vulnerability is triggered when the WAB component improperly handles specially crafted files. When a user opens a malicious file designed to exploit this flaw, the attacker's code executes in the context of the current user.

The attack requires user interaction—specifically, the victim must open a malicious file. This could be delivered via phishing emails, malicious websites, or compromised network shares. If the current user has administrative privileges, an attacker who successfully exploits this vulnerability could take complete control of the affected system, including installing programs, viewing or modifying data, and creating new accounts with full user rights.

Root Cause

The root cause of this vulnerability relates to improper handling of input data within the Windows Address Book component. When processing certain file types associated with the Address Book functionality, the component fails to properly validate or sanitize the input, allowing malformed data to corrupt memory or alter program execution flow. This improper input handling creates the conditions necessary for arbitrary code execution.

Attack Vector

The attack vector for CVE-2021-34504 is local, requiring an attacker to convince a user to open a specially crafted file. Common attack scenarios include:

  1. Email-based attacks: An attacker sends a phishing email containing a malicious attachment or link to a file that exploits the vulnerability
  2. Web-based attacks: An attacker hosts a malicious file on a website and convinces users to download and open it
  3. File share attacks: Malicious files are placed on network shares or removable media where users may encounter them

The vulnerability exploits user interaction to bypass initial access controls, making security awareness training a critical component of defense.

Detection Methods for CVE-2021-34504

Indicators of Compromise

  • Suspicious .wab or Address Book-related file extensions being opened from unusual locations such as temp directories or email attachments
  • Unexpected processes spawned from wab.exe or related Windows Address Book components
  • Anomalous network connections initiated immediately after opening contact-related files
  • Evidence of memory corruption or crash dumps associated with Windows Address Book processes

Detection Strategies

  • Monitor for execution of Windows Address Book components (wab.exe, wab32.dll) with suspicious parent processes or command-line arguments
  • Implement file integrity monitoring on critical system directories to detect unauthorized modifications following potential exploitation
  • Deploy endpoint detection and response (EDR) solutions to identify behavioral patterns consistent with code execution attacks
  • Configure email security gateways to scan attachments for malicious content targeting Windows Address Book vulnerabilities

Monitoring Recommendations

  • Enable enhanced Windows event logging for process creation events (Event ID 4688) with command-line auditing
  • Monitor for suspicious file downloads with extensions associated with Windows Address Book functionality
  • Implement application whitelisting to prevent unauthorized code execution following potential exploitation
  • Review user activity logs for unusual file access patterns, particularly for contact-related file types

How to Mitigate CVE-2021-34504

Immediate Actions Required

  • Apply the Microsoft security update for CVE-2021-34504 immediately on all affected systems
  • Educate users about the risks of opening unsolicited files, particularly contact or address book-related file types
  • Implement email filtering rules to quarantine suspicious attachments for analysis
  • Consider restricting access to Windows Address Book functionality on systems where it is not required

Patch Information

Microsoft has released security updates to address this vulnerability as part of their July 2021 Patch Tuesday release. Administrators should apply the appropriate update for their Windows version as detailed in the Microsoft Security Advisory for CVE-2021-34504. The patch addresses the underlying input validation issue in the Windows Address Book component.

Organizations should prioritize patching based on asset criticality and exposure risk, ensuring that all supported Windows versions receive the appropriate updates through Windows Update, WSUS, or other patch management solutions.

Workarounds

  • Block or filter potentially malicious file types at the email gateway and web proxy level to reduce exposure
  • Implement application control policies to restrict execution of unauthorized code even if exploitation occurs
  • Configure user accounts with least-privilege principles to limit the impact of successful exploitation
  • Disable or restrict Windows Address Book functionality on systems where it is not operationally required
bash
# Configuration example
# Block .wab file extensions at Windows Firewall (example PowerShell command)
# Note: Adjust according to your organization's security policy

# Check Windows Update status for missing security updates
Get-WindowsUpdate -KBArticleID "KB5004233" -Verbose

# Review installed updates to verify patch application
Get-HotFix | Where-Object {$_.InstalledOn -gt "2021-07-01"} | Sort-Object InstalledOn

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability1.97%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-34504
  • Related CVEs
  • CVE-2026-31995: Openclaw Command Injection Vulnerability

  • CVE-2026-25190: Windows GDI RCE Vulnerability

  • CVE-2026-25166: Windows System Image Manager RCE Flaw

  • CVE-2026-25173: Windows RRAS RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English