BACK TO ARCHIVE
HOME/INTELLIGENCE/CVE-2023-29357: Critical Microsoft SharePoint Server Authentication Bypass and Privilege Escalation Advisory
CVE-2023-29357
1/10/2024
CVSS 9.3 • CRITICAL

CVE-2023-29357: Critical Microsoft SharePoint Server Authentication Bypass and Privilege Escalation Advisory

Microsoft SharePoint Server contains an unspecified vulnerability that allows an unauthenticated attacker, who has gained access to spoofed JWT authentication tokens, to use them for executing a network attack. This attack bypasses authentication, enabling the attacker to gain administrator privileges.

FREQUENTLY ASKED

What is CVE-2023-29357 and why is it significant for organizational security?

CVE-2023-29357 is a critical elevation of privilege vulnerability in Microsoft SharePoint Server with a CVSS score of 9.8. It is significant because it allows unauthenticated attackers to bypass authentication entirely by using spoofed JWT tokens. By exploiting this flaw, an attacker can gain full administrator privileges, leading to total system compromise and potential data exfiltration within an enterprise environment.

Which versions of Microsoft SharePoint Server are affected by this vulnerability?

According to the official source data, the affected versions include SharePoint Server version 16.0.0. Organizations running this specific version of the Microsoft SharePoint product must verify their current build numbers and deployment configurations against vendor advisories to determine their direct exposure to this critical authentication bypass vulnerability.

Has a patch or official remediation been released for CVE-2023-29357?

Yes, Microsoft has released official patches and mitigations for CVE-2023-29357. Administrators are urged to visit the Microsoft Security Response Center (MSRC) update guide at the provided patch URL to download the necessary security updates. Applying these patches is the primary method to resolve the underlying incorrect implementation of the authentication algorithm.

What is the remediation deadline for CVE-2023-29357 and what are its compliance implications?

The remediation deadline for CVE-2023-29357 is 2024-01-31. This deadline is particularly critical for federal agencies and organizations following CISA guidelines, as this vulnerability is listed in the Known Exploited Vulnerabilities (KEV) catalog. Failure to mitigate by this date may result in non-compliance with BOD 22-01 and increased risk of ransomware exploitation.

How can an administrator check if their SharePoint instance is affected by this vulnerability?

Administrators can check for exposure by identifying if they are running affected version 16.0.0 and verifying if the security updates from the MSRC patch URL have been applied. Additionally, security teams should monitor for unusual administrative logins or signs of JWT spoofing. Because this vulnerability is being actively exploited in the wild, immediate technical verification of patch levels is essential.

THREAT SURVEY

VULNERABILITY TARGET

SharePoint Server

VENDOR SOURCE

Microsoft

CLASSIFIERS

CWE-303

REMEDIATION PULSE

Critical patching mandated by January 31, 2024.

EXPLOITATION STATUS: ACTIVE_WILDFIRE

RELATED INTELLIGENCE

View All
CVE-2008-4250

Unpacking CVE-2008-4250: Technical Analysis and Mitigation of the Critical Windows Server Service Buffer Overflow Vulnerability

Microsoft Windows contains a buffer overflow vulnerability in the Windows Server Service that allows remote attackers to execute arbitrary code via a crafted RPC request that triggers an overflow during path canonicalization.

CVE-2016-3351

Securing Legacy Environments: A Technical Analysis of CVE-2016-3351 in Internet Explorer and Edge

An information disclosure vulnerability exists in the way that certain functions in Internet Explorer and Edge handle objects in memory. The vulnerability could allow an attacker to detect specific files on the user's computer.

CVE-2017-0147

Unmasking CVE-2017-0147: Technical Analysis of the Windows SMBv1 Information Disclosure Vulnerability

The SMBv1 server in Microsoft Windows allows remote attackers to obtain sensitive information from process memory via a crafted packet.

Defend the Architecture.

Real-time intelligence drops for the global software supply chain.

Executive Summary

CVE-2023-29357 represents a critical security failure in Microsoft SharePoint Server's authentication framework. With a CVSS score of 9.8, this vulnerability allows unauthenticated attackers to gain administrative control through JWT spoofing, bypassing existing security barriers. Organizations must act before the 2024-01-31 remediation deadline to mitigate active exploitation risks.

Vulnerability Profile Table

FieldValue
CVE IDCVE-2023-29357
Affected Product & VersionsSharePoint Server (Version 16.0.0)
CVSS Score & Severity9.8 (CRITICAL)
CVSS Version3.1
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
CWE IDsCWE-303
Date Disclosed2024-01-10
Remediation Deadline2024-01-31
SSVC Exploitation StatusActive
Known Ransomware UseYes
EPSS Score & Percentile0.94356 (100th percentile)
Patch AvailableYes

Understanding the Critical Nature of CVE-2023-29357

CVE-2023-29357 is not merely a technical glitch; it is a fundamental flaw in the gatekeeping mechanism of Microsoft SharePoint Server. In modern enterprise environments, SharePoint serves as a central repository for sensitive documents, internal communication, and collaborative workflows. A vulnerability that allows an unauthenticated user to assume administrative identity represents a catastrophic risk to data integrity and confidentiality.

The severity of this issue is amplified by its EPSS score of 0.94356, placing it in the 100th percentile of all known vulnerabilities. This indicates an extremely high probability of exploitation in the wild, a fact confirmed by its inclusion in CISA’s Known Exploited Vulnerabilities (KEV) catalog. Furthermore, the association with known ransomware operations suggests that failure to patch could lead to debilitating data encryption and extortion events.

Technical Deep Dive: JWT Spoofing and CWE-303

The Mechanics of Incorrect Authentication Implementation

At the heart of CVE-2023-29357 is CWE-303: Incorrect Implementation of Authentication Algorithm. To understand this, we must look at how SharePoint handles JSON Web Tokens (JWTs). JWTs are the "digital identity cards" used in modern web applications to prove a user's identity and permissions. They consist of a header, a payload, and a signature.

In a secure implementation, the server receives the JWT and verifies the signature using a trusted public key or shared secret. If the signature is valid, the server trusts the information in the payload (such as user ID and roles). CWE-303 occurs here because SharePoint fails to correctly validate the authenticity of these tokens. Specifically, the vulnerability allows an attacker to craft or "spoof" a JWT that claims they have administrative rights, and the server accepts this claim without proper cryptographic verification. It is akin to a security guard allowing someone into a restricted vault because they are wearing a hand-drawn badge that says "The Boss," without checking the person's photo ID or fingerprint.

Attack Surface and Blast Radius

The attack surface for CVE-2023-29357 is the network-accessible endpoint of the SharePoint Server. Because the attack vector is "Network" and requires "None" for both privileges and user interaction, it can be launched remotely by any entity that can reach the SharePoint web interface.

The blast radius is "Total." Once an attacker bypasses authentication and elevates themselves to an administrator, they possess the keys to the kingdom. They can:

  1. Exfiltrate Data: Access every document, list, and database stored within the SharePoint environment.
  2. Lateral Movement: Use the compromised server as a pivot point to attack other systems within the internal network.
  3. Persistence: Create new administrative accounts or install backdoors (like web shells) to maintain access even after the initial vulnerability is discovered.
  4. Ransomware Deployment: Encrypt the entire document library, halting business operations and demanding payment for restoration.

Who Is Affected: Impact and Compliance Deadlines

This vulnerability primarily impacts organizations running Microsoft SharePoint Server version 16.0.0. This includes various deployments of SharePoint Server 2019 and SharePoint Server Subscription Edition that have not yet integrated the latest security cumulative updates.

For government agencies and organizations following the Cybersecurity and Infrastructure Security Agency (CISA) directives, this vulnerability falls under Binding Operational Directive (BOD) 22-01. CISA has mandated a remediation deadline of 2024-01-31. Compliance with this deadline is mandatory for federal civilian executive branch agencies, but it serves as a critical benchmark for private sector organizations as well. Given the active exploitation status, delaying remediation beyond this date significantly increases the likelihood of a successful compromise.

Official Remediation Steps

Microsoft has provided a comprehensive remediation path through its Security Update Guide. Follow these steps to secure your environment:

  1. Identify Vulnerable Instances: Audit all SharePoint Server deployments to confirm if they are running version 16.0.0 or other unpatched builds.
  2. Acquire Updates: Navigate to the Microsoft Security Update Guide for CVE-2023-29357.
  3. Apply Cumulative Updates: Install the specific security updates (KB articles) recommended for your SharePoint version. This update fixes the logic error in the authentication algorithm, ensuring JWT signatures are properly validated.
  4. Verify Patch Deployment: After installation, verify the build numbers of your SharePoint environment to ensure the update was applied successfully across all servers in the farm.
  5. Monitor Logs: Review SharePoint and IIS logs for any historical evidence of exploitation, specifically looking for unusual JWT-based authentication attempts prior to patching.

Security Best Practices for SharePoint Hardening

Beyond applying the immediate patch, organizations should adopt a defense-in-depth strategy to mitigate future authentication-related risks:

  1. Enforce Least Privilege: Limit the number of users with administrative rights within SharePoint. Even if an account is compromised, the impact is reduced if that account had minimal permissions.
  2. Enable Multi-Factor Authentication (MFA): While this specific vulnerability bypasses initial auth, a robust identity provider with MFA can add layers of defense that make spoofing harder to leverage in wider attack chains.
  3. Implement Network Segmentation: Isolate the SharePoint Server from the public internet using Web Application Firewalls (WAF) and ensure that internal access is restricted to authorized network segments.
  4. Monitor for Anomalous Sign-ins: Use Security Information and Event Management (SIEM) tools to alert on administrative logins originating from unusual IP addresses or occurring at atypical times.
  5. Regular Cryptographic Audits: Ensure that your environment is not using outdated or weak signing algorithms for JWTs or other authentication tokens.
  6. Automate Patch Management: Use automated tools to ensure that critical security updates are identified and deployed within 72 hours of release, significantly narrowing the window of opportunity for attackers.
  7. Subscribe to Threat Intelligence: Stay informed about active exploitation trends, such as the ransomware groups currently targeting SharePoint, to better prioritize defensive resources.

By following these defensive measures and meeting the January 31 remediation deadline, organizations can protect their sensitive data and maintain the integrity of their collaborative infrastructure.