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-29846 Overview
CVE-2024-29846 is a SQL injection vulnerability [CWE-89] in the Core server component of Ivanti Endpoint Manager (EPM) 2022 SU5 and prior. An authenticated attacker on the same network segment can exploit the flaw to execute arbitrary code against the EPM Core server. The vulnerability stems from improper sanitization of input used in database queries within the Core server.
Critical Impact
An authenticated adjacent-network attacker can inject SQL statements that lead to arbitrary code execution on the Ivanti EPM Core server, compromising endpoint management infrastructure and every managed device it controls.
Affected Products
- Ivanti Endpoint Manager 2022 (base release)
- Ivanti Endpoint Manager 2022 SU1 through SU5
- Any Ivanti EPM 2022 deployment prior to the vendor-supplied security update
Discovery Timeline
- 2024-05-31 - CVE-2024-29846 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-29846
Vulnerability Analysis
The Core server of Ivanti Endpoint Manager accepts input from authenticated users and incorporates it into SQL statements without sufficient validation or parameterization. An attacker with valid credentials on an adjacent network can craft requests that break out of the intended query context. Successful injection allows the attacker to read or modify arbitrary database content and chain the SQL layer into arbitrary code execution on the Core server.
Ivanti EPM Core servers typically run with elevated database privileges and host workflows that execute operating-system commands. SQL injection in this component therefore escalates quickly from data tampering to full command execution. Because the Core server orchestrates software distribution, patching, and remote actions across every managed endpoint, successful exploitation provides a path to lateral compromise of the broader estate.
The vulnerability is tracked under the CWE-89 category of improper neutralization of special elements used in an SQL command. Ivanti has not published the specific endpoint or stored procedure affected.
Root Cause
The root cause is improper neutralization of attacker-controlled input before concatenation into an SQL query inside the EPM Core server. The affected code path does not use parameterized queries or strict input validation, allowing injected SQL tokens to alter query semantics.
Attack Vector
Exploitation requires network adjacency to the Core server and valid authentication to the EPM application. The attacker sends a crafted request that contains malicious SQL fragments. The Core server embeds these fragments in a database query, executes them, and ultimately runs attacker-chosen code in the Core server context.
No verified proof-of-concept code is publicly available. Review the Ivanti Security Advisory Blog for vendor-published technical details.
Detection Methods for CVE-2024-29846
Indicators of Compromise
- Unexpected SQL error messages, stacked statements, or xp_cmdshell activity in EPM Core server database logs.
- New or modified stored procedures, scheduled tasks, or service accounts on the EPM Core server or its backing SQL database.
- Outbound network connections from the Core server to unfamiliar hosts following EPM console authentication events.
- Unusual software distribution or remote-execution jobs that were not created by an authorized administrator.
Detection Strategies
- Correlate authenticated EPM session activity with database query anomalies such as UNION, ;--, or WAITFOR DELAY patterns.
- Alert on process creation under the EPM Core service account spawning cmd.exe, powershell.exe, or script interpreters.
- Monitor web and application logs on the Core server for malformed request parameters and oversized SQL payloads.
Monitoring Recommendations
- Enable SQL Server auditing on the EPM database and ship events to a centralized analytics platform for review.
- Baseline normal administrative activity on the Core server and alert on deviations in query volume, process creation, and outbound traffic.
- Restrict EPM console access to a management VLAN and log every authentication attempt for retrospective investigation.
How to Mitigate CVE-2024-29846
Immediate Actions Required
- Inventory all Ivanti Endpoint Manager 2022 Core servers and identify any instance running SU5 or earlier.
- Apply the Ivanti-supplied security update for EPM 2022 as the primary remediation.
- Rotate credentials for EPM administrative accounts and the SQL service account used by the Core server after patching.
- Review audit logs for suspicious authenticated sessions dating back to the earliest unpatched deployment.
Patch Information
Ivanti has released fixed builds for Endpoint Manager 2022 that address this SQL injection flaw. Refer to the Ivanti Security Advisory Blog for the specific build number, download location, and installation guidance. Apply the vendor update rather than attempting source-level mitigation.
Workarounds
- Restrict network access to the EPM Core server so that only trusted administrative hosts can reach management ports.
- Enforce least privilege on EPM accounts and remove unused administrative users to shrink the pool of authenticated attackers.
- Segment the SQL database used by EPM onto a dedicated subnet and disable risky features such as xp_cmdshell where not required.
- Monitor the Core server with endpoint protection configured to alert on database-process command execution until patching is complete.
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

