CVE DatabaseCVE-2024-38094
한국어 권고문 →
CVE-2024-380947.2/HIGHCISA KEVCWE-502CWE-502

Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2024-38094) Technical Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
sharepoint, sharepoint_server
Published Date
2024-07-09
CVSS v3.1
7.2
HIGH
EPSS (30d)
50.9%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft SharePoint Server 2016, 2019, and Subscription Edition

Impact

An authorized attacker with Site Owner permissions can execute arbitrary code within the server context via specially crafted API requests, leading to full system compromise

Mitigation

Apply the official Microsoft Cumulative Update (CU) patches immediately, restrict administrative privileges, and audit system logs for indicators of compromise

Affected Products & Version Scope

Microsoft SharePoint Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition (requires Site Owner privileges)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Refer to the Microsoft Security Update Guide to download and apply the appropriate Cumulative Update (CU) for your SharePoint version. Use the following PowerShell command to verify your current SharePoint farm build version:

powershell
# Run in SharePoint Management Shell to check the current build version
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
(Get-SPFarm).BuildVersion

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict administrative and Site Owner privileges to trusted personnel only. Additionally, implement IIS URL Rewrite rules to restrict access to sensitive API endpoints from untrusted networks.

xml
<!-- Example IIS web.config rule to restrict API access to internal IP ranges -->
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name='Restrict_API_Access' stopProcessing='true'>
          <match url='_api/.*' />
          <conditions>
            <add input='{REMOTE_ADDR}' pattern='^10\.0\.' negate='true' />
          </conditions>
          <action type='CustomResponse' statusCode='403' statusReason='Forbidden' statusDescription='Access Denied' />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>

3. Log Audit & IoC Verification Commands

Inspect SharePoint ULS (Unified Logging Service) logs and IIS logs for anomalous POST requests or deserialization errors. The following PowerShell script searches ULS logs for deserialization-related exceptions:

powershell
# Query ULS logs for deserialization errors and exceptions over the last 7 days
Get-SPLogEvent -StartTime (Get-Date).AddDays(-7) | Where-Object { $_.Message -like '*deserialize*' -or $_.Message -like '*TypeInitializationException*' } | Format-Table Timestamp, Area, Category, EventID, Message -AutoSize
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
As this vulnerability is actively exploited in the wild (CISA KEV), immediate deployment of Microsoft's official security updates is highly recommended.

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

CVE-2024-38094 is a critical Remote Code Execution (RCE) vulnerability in Microsoft SharePoint Server. The root cause lies in the deserialization of untrusted data (CWE-502). When processing specific serialized objects or API payloads, SharePoint fails to properly validate the input, allowing an attacker to trigger unsafe deserialization within the .NET CLR (Common Language Runtime) environment.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first authenticate and possess Site Owner or higher privileges (PR:H). The attacker then transmits a crafted payload containing serialized objects to a vulnerable SharePoint endpoint. Upon deserialization, the server executes the embedded malicious code under the security context of the SharePoint service account. This vulnerability is actively exploited in the wild and is listed in the CISA KEV catalog.

3. Infrastructure & Business Impact

Successful exploitation grants the attacker arbitrary code execution capabilities on the hosting server. This can lead to unauthorized access to sensitive corporate data, lateral movement within the Active Directory domain, deployment of ransomware, and persistent backdoor installation, posing severe risks to business continuity and data confidentiality.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2024-38094)

FAQ

Q1. How critical is CVE-2024-38094 and is it actively exploited in the wild?

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

Q2. Which vendors and products are affected by CVE-2024-38094?

Primary impacted vendors include microsoft across sharepoint, sharepoint_server. Scope summary: Microsoft SharePoint Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition (requires Site Owner privileges)

Q3. What temporary mitigations or workarounds exist for CVE-2024-38094 before patching?

[Mitigation] Apply the official Microsoft Cumulative Update (CU) patches immediately, restrict administrative privileges, and audit system logs for indicators of compromise 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-2024-38094

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-2024-38094 Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2024-38094) Technical Advisory (CVSS 7.2) - Patch & Workaround | CVE Pulse