CVE DatabaseCVE-2023-21715
한국어 권고문 →
CVE-2023-217157.3/HIGHCISA KEVCWE-863CWE-863

Microsoft Publisher Security Feature Bypass and Remote Code Execution Vulnerability (CVE-2023-21715) Analysis & Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
publisher, office
Published Date
2023-02-14
CVSS v3.1
7.3
HIGH
EPSS (30d)
12.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft Office and Microsoft Publisher 2013, 2016, 2019, 2021, and Microsoft 365 Apps

Impact

Attackers can bypass Office macro blocking policies (Mark of the Web) via specially crafted Publisher files to execute arbitrary code

Mitigation

Apply official Microsoft security patches immediately and enforce registry policies to disable Publisher macros

Affected Products & Version Scope

Microsoft Publisher 2013, 2016, LTSC 2021, and Microsoft 365 Apps for Enterprise

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official security updates provided by Microsoft. In enterprise environments, deploy patches via WSUS or SCCM. For individual systems, use the following PowerShell commands to force Windows Update:

powershell
# Install Windows Update module and apply all pending updates
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, modify the registry to completely disable macro execution in Microsoft Publisher. Run the following command in an elevated Command Prompt (Admin):

bash
# Force Publisher to block all macros without notification (DisableAllMacrosExceptSigned)
reg add 'HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\publisher\security' /v 'vbawarnings' /t REG_DWORD /d 4 /f

3. Log Audit & IoC Verification Commands

Use the following PowerShell script to audit the installed version of Microsoft Publisher and verify if the system is potentially vulnerable:

powershell
# Retrieve the installation path and version of Microsoft Publisher
$pubPath = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\mspub.exe' -ErrorAction SilentlyContinue).'(default)'
if ($pubPath) {
    $version = (Get-Item $pubPath).VersionInfo.ProductVersion
    Write-Host 'Detected Microsoft Publisher Version:' $version
    Write-Host 'Verify this version against the official Microsoft CVE-2023-21715 patch advisory.'
} else {
    Write-Host 'Microsoft Publisher is not installed on this system.'
}
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild, immediately apply the Microsoft security update or enforce GPOs to block Publisher macros.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2023-21715) is a security feature bypass vulnerability in Microsoft Publisher. The root cause lies in improper authorization and policy enforcement mechanisms (CWE-863). Even when the 'Mark of the Web (MotW)' flag is present on files downloaded from the internet, Publisher fails to properly trigger the macro blocking security controls when parsing specific malicious documents.

2. Exploitation Mechanics & Attack Scenario

An attacker crafts a malicious .pub file containing embedded Visual Basic for Applications (VBA) macros and distributes it via phishing emails or malicious websites. While standard Office applications block macros on MotW-tagged files, the vulnerable version of Publisher bypasses this validation. Once a user is enticed to open the file (UI:R), the macro executes automatically under the user's local privilege level (PR:L), leading to system compromise.

3. Infrastructure & Business Impact

This vulnerability has been actively exploited in the wild and is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. It serves as a highly effective initial access vector for threat actors. Successful exploitation can lead to full endpoint compromise, lateral movement within the corporate network, data exfiltration, and ransomware deployment.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2023-21715)

FAQ

Q1. How critical is CVE-2023-21715 and is it actively exploited in the wild?

CVE-2023-21715 is rated CVSS 7.3 (HIGH) with a 30-day EPSS exploitation probability of 12.0%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2023-21715?

Primary impacted vendors include microsoft across publisher, office. Scope summary: Microsoft Publisher 2013, 2016, LTSC 2021, and Microsoft 365 Apps for Enterprise

Q3. What temporary mitigations or workarounds exist for CVE-2023-21715 before patching?

[Mitigation] Apply official Microsoft security patches immediately and enforce registry policies to disable Publisher macros Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2023-21715

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2023-21715 Microsoft Publisher Security Feature Bypass and Remote Code Execution Vulnerability (CVE-2023-21715) Analysis & Mitigation Guide (CVSS 7.3) - Patch & Workaround | CVE Pulse