Body Background
TrendAI™ Zero Day Initiative™ Logo

(Pwn2Own) Microsoft SharePoint GenerateProxyAssembly Code Injection Remote Code Execution Vulnerability

June 16th, 2023

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft SharePoint. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the GenerateProxyAssembly method. The issue results from the lack of proper validation of a user-supplied string before using it to execute C# code. An attacker can leverage this vulnerability to execute code in the context of SharePoint farm service account.

Additional Details

Microsoft has issued an update to correct this vulnerability. More details can be found at:
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-24954

Disclosure Timeline

  • 2023-03-30 - Vulnerability reported to vendor
  • 2023-06-16 - Coordinated public release of advisory
  • 2023-06-20 - Advisory Updated

Credit

Nguyễn Tiến Giang (@testanull) of STAR Labs SG Pte. Ltd.

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.