Exploit database

Vulnerability

CVE-2023-24955

Microsoft SharePoint Server Remote Code Execution Vulnerability

Vulnerability details

Score
7.2
Severity
high

CVSS 3.1 · microsoft

Vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Description

Microsoft SharePoint Server Remote Code Execution Vulnerability

CVE Program

Exploit source choices

5 sources
Sharepoint Dynamic Proxy Generator Unauth RCE
MSF-windows--http--sharepoint_dynamic_proxy_generator_auth_bypass_rceMetasploitWindows / remotePreferred

This module exploits two vulnerabilities in Sharepoint 2019, an auth bypass CVE-2023-29357 which was patched in June of 2023 and CVE-2023-24955, an RCE which was patched in May of 2023. The auth bypass allows attackers to impersonate the Sharepoint Admin user. This vulnerability stems from the signature validation check used to verify JSON Web Tokens (JWTs) used for OAuth authentication. If the signing algorithm of the user-provided JWT is set to none, SharePoint skips the signature validation step due to a logic flaw in the ReadTokenCore() method. After impersonating the administrator user, the attacker has access to the Sharepoint API and is able to exploit CVE-2023-24955. This authenticated RCE vulnerability leverages the impersonated privileged account to replace the "/BusinessDataMetadataCatalog/BDCMetadata.bdcm" file in the webroot directory with a payload. The payload is then compiled and executed by Sharepoint allowing attackers to remotely execute commands via the API.

2023-05-01sharepoint_dynamic_proxy_generator_auth_bypass_rce.rb
chocapikk/cve-2023-29357
GH-b45cbd226ad1a0199ffc6b91d80f0983GitHubUnofficial GitHub source

Microsoft SharePoint Server Elevation of Privilege Vulnerability

2023-09-263 files · 236 stars
luemmelsec/cve-2023-29357
GH-4fa8da8953646f1bfa6a2dc231d978e7GitHubUnofficial GitHub source

luemmelsec/cve-2023-29357 source repository

2023-09-307 files · 55 stars
former-farmer/cve-2023-24955-poc
GH-f3fdc888b6d20f7a94a256dc6b534205GitHubUnofficial GitHub source

Exploit for Microsoft SharePoint 2019

2023-12-282 files · 13 stars
chalkingcode/exploitedducks
GH-ff522b402f0eaba45e9c70f86eb64638GitHubUnofficial GitHub source

A super simple Cisa KEV lookup CLI tool leveraging DuckDB

2024-07-024 files · 1 stars