CVE DatabaseCVE-2023-24955
한국어 권고문 →
CVE-2023-249557.2/HIGHCISA KEVCWE-94CWE-94

Microsoft SharePoint Server Remote Code Execution (RCE) Vulnerability (CVE-2023-24955) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
sharepoint_server
Published Date
2023-05-09
CVSS v3.1
7.2
HIGH
EPSS (30d)
85.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft SharePoint Server 2016, 2019, and Subscription Edition

Impact

An authenticated attacker with high privileges (Site Owner/Administrator) can execute arbitrary code in the context of the server, leading to complete system compromise

Mitigation

Apply the official Microsoft security patches immediately and restrict access to the SharePoint administration interface from untrusted networks

Affected Products & Version Scope

Microsoft SharePoint Server 2016, 2019, and SharePoint Server Subscription Edition (unpatched versions)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Refer to the Microsoft Security Update Guide to download and install the appropriate Cumulative Update (CU) for your SharePoint version. Use the following PowerShell commands to verify your current SharePoint farm build version and patch status.

powershell
# Verify SharePoint Farm Build Version
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
Get-SPFarm | Select-Object BuildVersion

# Check for missing required patches
Get-SPProduct | Where-Object { $_.RequiredButMissingPatches } | Format-Table -Property DisplayName, MissingPatches

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict access to the SharePoint Central Administration and web applications to trusted IP ranges using IIS IP Security restrictions. Run the following PowerShell commands to enforce IP restrictions.

powershell
# Enable IIS IP Security Feature
Install-WindowsFeature Web-IP-Security

# Restrict access to SharePoint Central Administration to a specific subnet
Import-Module WebAdministration
Set-WebConfigurationProperty -Filter '/system.webServer/security/ipSecurity' -Name 'allowUnlisted' -Value $false -PSPath 'IIS:\' -Location 'SharePoint Central Administration v4'
Add-WebConfigurationProperty -Filter '/system.webServer/security/ipSecurity' -Name '.' -Value @{ipAddress='10.0.0.0';subnetMask='255.255.0.0';allowed='true'} -PSPath 'IIS:\' -Location 'SharePoint Central Administration v4'

3. Log Audit & IoC Verification Commands

Analyze SharePoint Unified Logging Service (ULS) logs and IIS W3C logs for anomalous POST requests or serialization exceptions. Use the following script to search for potential exploitation indicators in ULS logs.

powershell
# Merge and search ULS logs for serialization and compilation exceptions
Merge-SPLogFile -Path 'C:\Logs\Analyzed_ULS.log' -Overwrite
Select-String -Path 'C:\Logs\Analyzed_ULS.log' -Pattern 'System.Runtime.Serialization', 'Assembly.Load', 'VirtualPathProvider' | Select-Object -First 100
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Since this vulnerability is actively exploited in the wild (CISA KEV), immediately apply the latest Microsoft Cumulative Updates to secure your SharePoint environment.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2023-24955) is a critical Remote Code Execution (RCE) flaw in Microsoft SharePoint Server. The root cause lies in the server's unsafe handling of user-supplied input during deserialization or dynamic code compilation processes (CWE-94). When an authenticated attacker with administrative privileges sends a specially crafted payload, the SharePoint backend fails to properly validate the input, allowing the execution of arbitrary .NET code within the server's security context.

2. Exploitation Mechanics & Attack Scenario

In a typical exploitation scenario, an attacker first gains administrative access to the SharePoint site, often by chaining this flaw with an authentication bypass vulnerability (such as CVE-2023-29357) or using compromised credentials. Once authenticated, the attacker leverages administrative endpoints or Web Part configurations to upload malicious .NET assemblies or serialized payloads. The SharePoint server processes this data, triggering unsafe deserialization or compilation, which executes the attacker's payload and establishes a web shell or executes system commands.

3. Infrastructure & Business Impact

As this vulnerability is actively exploited in the wild and listed in the CISA KEV catalog, it poses an immediate threat to enterprise environments. Successful exploitation grants the attacker the privileges of the SharePoint service account, which often possesses extensive domain or local system rights. This can lead to unauthorized access to sensitive corporate documents, lateral movement within the Active Directory domain, and deployment of ransomware.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2023-24955)

FAQ

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

CVE-2023-24955 is rated CVSS 7.2 (HIGH) with a 30-day EPSS exploitation probability of 85.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-24955?

Primary impacted vendors include microsoft across sharepoint_server. Scope summary: Microsoft SharePoint Server 2016, 2019, and SharePoint Server Subscription Edition (unpatched versions)

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

[Mitigation] Apply the official Microsoft security patches immediately and restrict access to the SharePoint administration interface from untrusted networks 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-24955

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-24955 Microsoft SharePoint Server Remote Code Execution (RCE) Vulnerability (CVE-2023-24955) Analysis and Mitigation Guide (CVSS 7.2) - Patch & Workaround | CVE Pulse