CVE DatabaseCVE-2023-29357
한국어 권고문 →
CVE-2023-293579.8/CRITICALCISA KEVCWE-303

Microsoft SharePoint Server Elevation of Privilege Vulnerability (CVE-2023-29357) Security Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
sharepoint_server
Published Date
2023-06-14
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
100.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft SharePoint Server 2019 and SharePoint Server Subscription Edition.

Impact

An unauthenticated attacker can send a specially crafted JWT token to bypass authentication, gain administrator privileges, and potentially chain it with RCE vulnerabilities.

Mitigation

Apply the official Microsoft Cumulative Update (CU) immediately and restrict unauthorized access at the network and IIS levels prior to patching.

Affected Products & Version Scope

Microsoft SharePoint Server 2019 and SharePoint Server Subscription Edition (all supported builds prior to the June 2023 security updates).

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is to apply the official Microsoft Cumulative Update (CU). Run the SharePoint Products Configuration Wizard after installing the patch to complete the update process.

powershell
# Verify current SharePoint build version
Get-SPFarm | Select-Object BuildVersion

# Run the configuration wizard to apply the patch to the database
PS C:\> PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd features -install

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, configure IIS URL Rewrite rules to block external OAuth requests or restrict access to SharePoint APIs to trusted internal networks only.

xml
<!-- Example IIS web.config rule to block external Bearer token requests -->
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name='Block_External_OAuth' stopProcessing='true'>
          <match url='.*' />
          <conditions>
            <add input='{HTTP_AUTHORIZATION}' pattern='^Bearer\s(.*)' />
            <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

Use the following PowerShell script to inspect IIS W3C logs for suspicious Bearer token usage or unauthorized API calls from external IP addresses.

powershell
# Search IIS logs for requests containing Bearer tokens
$LogPath = 'C:\inetpub\logs\LogFiles\W3SVC1\*'
Select-String -Path $LogPath -Pattern 'Bearer' | 
    Select-Object -First 50 | 
    Format-Table Line
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, immediately apply the Microsoft June 2023 (or later) Cumulative Update and run the PSConfig utility.

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-2023-29357 is a critical Elevation of Privilege (EoP) vulnerability in Microsoft SharePoint Server. The root cause lies in the improper validation of OAuth JSON Web Tokens (JWT) when SharePoint processes incoming API requests (CWE-303). SharePoint fails to properly validate the signature and specific claims of the JWT, allowing an attacker to present a self-signed or malformed token (such as using the 'none' algorithm or spoofing administrator claims) and bypass authentication entirely.

2. Exploitation Mechanics & Attack Scenario

An attacker targets the exposed SharePoint API endpoints and constructs a spoofed JWT containing the security identifier (SID) or claims of a high-privileged user, such as a Farm Administrator. By injecting this forged token into the HTTP Authorization header, the attacker bypasses the authentication handshake. The SharePoint server processes the request under the context of the spoofed administrator. In real-world attacks, this vulnerability is frequently chained with remote code execution (RCE) flaws (such as CVE-2023-24955) to achieve full system compromise.

3. Infrastructure & Business Impact

With a CVSS score of 9.8 and its inclusion in the CISA Known Exploited Vulnerabilities (KEV) catalog, this vulnerability poses an extreme risk to enterprise environments. Successful exploitation grants full administrative access to the SharePoint farm, enabling attackers to exfiltrate sensitive corporate data, intellectual property, and personal identifiable information (PII). Furthermore, it serves as a critical entry point for lateral movement within the Active Directory domain, potentially leading to ransomware deployment.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2023-29357)

FAQ

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

CVE-2023-29357 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 100.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-29357?

Primary impacted vendors include microsoft across sharepoint_server. Scope summary: Microsoft SharePoint Server 2019 and SharePoint Server Subscription Edition (all supported builds prior to the June 2023 security updates).

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

[Mitigation] Apply the official Microsoft Cumulative Update (CU) immediately and restrict unauthorized access at the network and IIS levels prior to patching. 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-29357

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-29357 Microsoft SharePoint Server Elevation of Privilege Vulnerability (CVE-2023-29357) Security Advisory (CVSS 9.8) - Patch & Workaround | CVE Pulse