Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-28904 Overview
CVE-2024-28904 is an elevation of privilege vulnerability in the Microsoft Brokering File System affecting Windows Server 2022 23H2. The flaw allows a local, authenticated attacker to gain SYSTEM-level privileges on an affected host. Microsoft published the advisory on April 9, 2024 as part of its monthly security update cycle. The vulnerability is categorized under CWE-269: Improper Privilege Management.
Critical Impact
A successful exploit grants full control of the host, allowing attackers to install programs, modify or delete data, and create new accounts with full user rights.
Affected Products
- Microsoft Windows Server 2022 23H2
- Brokering File System component (bfs.sys / related broker services)
- Systems without the April 2024 Microsoft security update installed
Discovery Timeline
- 2024-04-09 - CVE-2024-28904 published to NVD and Microsoft advisory released
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-28904
Vulnerability Analysis
The vulnerability resides in the Microsoft Brokering File System, a kernel-mode component that brokers file access between user-mode processes and the underlying file system. Improper privilege management in this component allows a low-privileged local user to elevate privileges to SYSTEM. The attack complexity is high, requiring the attacker to win a race condition or satisfy specific environmental preconditions before the broker performs a privileged operation. Because the vulnerable code path crosses a security boundary, the impact extends to confidentiality, integrity, and availability of the host.
Root Cause
The root cause maps to CWE-269: Improper Privilege Management. The Brokering File System fails to correctly validate or constrain the privilege context when handling requests on behalf of a caller. As a result, operations intended to execute within the caller's reduced token are performed with elevated broker privileges, enabling the caller to influence protected resources.
Attack Vector
Exploitation requires local access and valid low-privileged credentials on the target Windows Server 2022 23H2 host. No user interaction is required. An attacker typically runs a crafted binary that issues specific broker requests and manipulates timing or object state to coerce the Brokering File System into executing a privileged operation on their behalf. Successful exploitation yields code execution as SYSTEM.
No verified public proof-of-concept code is available at the time of writing. Refer to the Microsoft Security Update Guide for CVE-2024-28904 for authoritative technical details.
Detection Methods for CVE-2024-28904
Indicators of Compromise
- Unexpected child processes of broker or system services running with NT AUTHORITY\SYSTEM tokens after being spawned by a standard user context.
- Creation of new privileged local accounts or additions to the Administrators group shortly after a low-privileged logon.
- Unusual file operations originating from the Brokering File System driver targeting protected directories such as C:\Windows\System32.
Detection Strategies
- Monitor Windows Security event logs for Event ID 4672 (special privileges assigned to a new logon) correlated with non-admin source users.
- Alert on process creation events (Event ID 4688 or Sysmon Event ID 1) where a standard user process is followed by a SYSTEM process in the same session.
- Deploy behavioral endpoint detection to flag token manipulation and impersonation patterns consistent with local privilege escalation.
Monitoring Recommendations
- Baseline normal broker and kernel driver activity on Windows Server 2022 23H2 and alert on deviations.
- Centralize Windows event and Sysmon telemetry in a SIEM for correlation across hosts.
- Track patch compliance for the April 2024 security update across all Windows Server 2022 23H2 systems.
How to Mitigate CVE-2024-28904
Immediate Actions Required
- Apply the April 2024 Microsoft security update for Windows Server 2022 23H2 as published in the Microsoft Security Update Guide.
- Inventory all Windows Server 2022 23H2 hosts and prioritize patching for systems that allow interactive or Remote Desktop logons by non-administrative users.
- Audit local accounts and remove unnecessary interactive logon rights to reduce the local attack surface.
Patch Information
Microsoft addressed CVE-2024-28904 in the April 2024 security update for Windows Server 2022 23H2. Administrators should install the cumulative update through Windows Update, Windows Server Update Services (WSUS), or Microsoft Update Catalog. Consult the Microsoft advisory for the specific KB article and build numbers applicable to the deployed image.
Workarounds
- No official vendor workaround is listed; patching is the required remediation path.
- Restrict local logon rights on servers using Group Policy to limit who can execute code locally.
- Enforce the principle of least privilege and remove standing local administrator rights for service and user accounts.
- Enable attack surface reduction rules and credential protections such as Credential Guard where supported.
# Verify installation of the April 2024 cumulative update on Windows Server 2022 23H2
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10
# Restrict interactive logon for non-admin groups via secedit (example)
secedit /export /cfg C:\secpol.cfg
# Edit SeInteractiveLogonRight to remove unnecessary principals, then re-import:
secedit /configure /db C:\Windows\security\local.sdb /cfg C:\secpol.cfg
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

