cbcvebase.
CVE-2024-38094
published 2024-07-09

CVE-2024-38094: Microsoft SharePoint Remote Code Execution Vulnerability

PriorityP186high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
KEVITWRansomware
CISA Known Exploited Vulnerabilitydue 2024-11-12
Exploited in the wild
EPSS
39.10%
98.4th percentile
Microsoft SharePoint Remote Code Execution Vulnerability

Affected

8 ranges
VendorProductVersion rangeFixed in
microsoftmicrosoft_sharepoint_enterprise_server_2016>= 16.0.0 < 16.0.5456.100016.0.5456.1000
microsoftmicrosoft_sharepoint_server_2019>= 16.0.0 < 16.0.10412.2000116.0.10412.20001
microsoftmicrosoft_sharepoint_server_subscription_edition>= 16.0.0 < 16.0.17328.2042416.0.17328.20424
microsoftsharepoint_server
microsoftsharepoint_server
msrcmicrosoft_sharepoint_enterprise_server_2016
msrcmicrosoft_sharepoint_server_2019
msrcmicrosoft_sharepoint_server_subscription_edition

Detection & IOCsextracted from sources · hover to see the quote

url/web/GetFolderByServerRelativeUrl('/BusinessDataMetadataCatalog')/Files/add(url='...BDCMetadata.bdcm')
url/_vti_bin/client.svc/ProcessQuery
path/BusinessDataMetadataCatalog/BDCMetadata.bdcm
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Microsoft Sharepoint BDCM File Creation (CVE-2024-38094)"; flow:established,to_server; flowbits:set,ET.Sharepoint.CVE-2024-38094; http.method; content:"POST"; http.uri; content:"|2f|web|2f|GetFolderByServerRelativeUrl|28|"; content:"|2f|BusinessDataMetadataCatalog|2f 27 29 2f|Files|2f|add|28|url|3d|'"; fast_pattern; distance:0; content:"|2f|BusinessDataMetadataCatalog|2f|BDCMetadata|2e|bdcm"; distance:0; http.request_body; content:"Method Name|3d 22|ParseLogFileEntry|22|"; content:"|3c|TypeDescriptor|20|"; content:"|3c|DefaultValue|20|"; reference:cve,2024-38094; classtype:web-application-attack; sid:2057286; rev:1; metadata:affected_product Microsoft_Sharepoint, attack_target Server, tls_state TLSDecrypt, created_at 2024_11_06, cve CVE_2024_38094, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2024_11_06, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Microsoft Sharepoint BDCM Execution (CVE-2024-38094)"; flow:established,to_server; flowbits:isset,ET.Sharepoint.CVE-2024-38094; http.method; content:"POST"; http.uri; content:"/_vti_bin/client.svc/ProcessQuery"; fast_pattern; endswith; http.request_body; content:"|22|GetDefaultValues|22|"; content:"|3a|entityfile|3a|"; content:"|3a|notifcallback|3a|"; content:"|3a|lsifile|3a|"; reference:cve,2024-38094; classtype:web-application-attack; sid:2057291; rev:1; metadata:affected_product Microsoft_Sharepoint, attack_target Server, tls_state TLSDecrypt, created_at 2024_11_06, cve CVE_2024_38094, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2024_11_06, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • Stage 1 exploit: Attacker POSTs a malicious .bdcm file to the SharePoint BusinessDataMetadataCatalog folder via GetFolderByServerRelativeUrl. Look for POST requests to URIs matching /web/GetFolderByServerRelativeUrl('/BusinessDataMetadataCatalog')/Files/add containing BDCMetadata.bdcm, with request body containing 'ParseLogFileEntry', TypeDescriptor, and DefaultValue XML elements.
  • Stage 2 exploit: After BDCM file creation (flowbit ET.Sharepoint.CVE-2024-38094 set), attacker POSTs to /_vti_bin/client.svc/ProcessQuery with body containing 'GetDefaultValues', ':entityfile:', ':notifcallback:', and ':lsifile:' to trigger deserialization and RCE.
  • Post-exploitation: Monitor for installation of Huorong Antivirus (HRSword.exe, sysdiag_win10.sys driver, sysdiag service) via batch script 'hrword install.bat', which is used to deliberately conflict with and crash legitimate AV services.
  • Post-exploitation: Monitor for Mimikatz (credential harvesting), FRP (remote access tunneling), Impacket (lateral movement), Certify.exe (ADFS cert abuse), kerbrute (AD ticket brute-force), and everything.exe (network/file enumeration) on SharePoint or domain-joined servers.
  • Attacker compromised a Microsoft Exchange service account with domain administrator privileges after initial SharePoint access — monitor for Exchange service accounts performing domain admin-level actions.
  • Webshell planted on the SharePoint server following initial exploitation — hunt for new/modified files in SharePoint web directories, especially following POST activity to BusinessDataMetadataCatalog endpoints.
  • ·Exploitation requires an authenticated attacker with Site Owner permissions on the SharePoint site — unauthenticated exploitation is not possible.
  • ·The two Snort/ET rules (SID 2057286 and 2057291) require TLS decryption (tls_state TLSDecrypt / deployment SSLDecrypt) to be effective, as SharePoint traffic is typically HTTPS.
  • ·This vulnerability affects on-premise SharePoint Server deployments; the investigated breach involved an on-premise SharePoint server.

CVSS provenance

nvdv3.17.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vulncheck7.2HIGH
cisa7.2HIGH
vendor_msrc7.2HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.