Skip to main content
Vulnerability Database/CVE-2024-29829

CVE-2024-29829: Ivanti Endpoint Manager SQLI Vulnerability

CVE-2024-29829 is a SQL injection flaw in Ivanti Endpoint Manager Core server that enables authenticated attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published:

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-29829 Overview

CVE-2024-29829 is a SQL injection vulnerability in the Core server of Ivanti Endpoint Manager (EPM) 2022 SU5 and prior. An authenticated attacker on the same network can inject arbitrary SQL statements and execute arbitrary code against the Core server. The flaw is tracked under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). Ivanti addressed the issue in its May 2024 security advisory.

Critical Impact

Authenticated adjacent-network attackers can execute arbitrary code on the EPM Core server, compromising confidentiality, integrity, and availability of managed endpoints.

Affected Products

  • Ivanti Endpoint Manager 2022 (base release)
  • Ivanti Endpoint Manager 2022 SU1, SU2, SU3, SU4
  • Ivanti Endpoint Manager 2022 SU5 and prior

Discovery Timeline

  • 2024-05-31 - CVE-2024-29829 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-29829

Vulnerability Analysis

The vulnerability resides in the Core server component of Ivanti Endpoint Manager. User-controlled input reaches a SQL query construction path without proper parameterization or sanitization. An authenticated attacker on an adjacent network can submit crafted input that alters query semantics. Successful exploitation leads to arbitrary code execution against the Core server process.

Ivanti EPM Core servers manage endpoint provisioning, patching, and software delivery across the enterprise. Code execution on the Core server grants an attacker a strategic foothold for lateral movement to every managed endpoint. The advisory classifies the issue as unspecified SQL injection, so exact parameter names and injection sinks are not published.

Root Cause

The root cause is improper neutralization of SQL metacharacters in input processed by the Core server. The affected code paths concatenate attacker-controlled values into SQL statements rather than binding parameters. The condition maps to [CWE-89] and is characteristic of legacy data-access code that trusts authenticated input.

Attack Vector

Exploitation requires authentication and network adjacency, meaning the attacker must reach the EPM Core server from the same logical network segment. The attacker submits a crafted request containing a malicious SQL payload to a vulnerable endpoint. The payload is executed by the backend database, and chained behavior enables arbitrary code execution on the Core server. The Exploit Prediction Scoring System (EPSS) places this CVE in the 94th percentile, indicating elevated exploitation likelihood relative to the broader CVE corpus.

No public proof-of-concept exploit code or Exploit-DB entry is available at the time of writing. Refer to the Ivanti Security Advisory May 2024 for vendor technical context.

Detection Methods for CVE-2024-29829

Indicators of Compromise

  • Unexpected SQL error messages or stored procedure invocations originating from the EPM Core server application logs.
  • New or modified processes spawned by the EPM Core server service account, especially shell, PowerShell, or scripting hosts.
  • Outbound network connections from the Core server to unrecognized internal or external hosts.
  • Database audit entries showing queries containing stacked statements, xp_cmdshell invocations, or unusual UNION operations.

Detection Strategies

  • Enable SQL Server auditing on the EPM database and alert on query patterns that include concatenated metacharacters or administrative stored procedures.
  • Correlate authenticated EPM web requests with subsequent database errors and process creation events on the Core server.
  • Baseline normal child-process behavior for the EPM Core service and alert on deviations such as cmd.exe, powershell.exe, or rundll32.exe spawns.

Monitoring Recommendations

  • Forward EPM Core server application, IIS, and Windows Security event logs to a centralized analytics platform for correlation.
  • Monitor privileged account activity against the EPM database and flag off-hours or anomalous session sources.
  • Alert on any configuration changes to the EPM Core server, including new scheduled tasks, services, or persistence artifacts.

How to Mitigate CVE-2024-29829

Immediate Actions Required

  • Apply the Ivanti EPM 2022 SU6 update or the hotfix referenced in the Ivanti Security Advisory May 2024.
  • Inventory all EPM Core servers and verify version levels against the affected list.
  • Restrict network reachability to the EPM Core server to authorized management subnets only.
  • Rotate credentials for service and administrative accounts that interact with the EPM Core server.

Patch Information

Ivanti released fixes for CVE-2024-29829 in the May 2024 security advisory, covering Ivanti Endpoint Manager 2022 SU5 and prior. Administrators should install the vendor-provided update that supersedes SU5. Full remediation guidance is documented in the Ivanti Security Advisory May 2024.

Workarounds

  • Enforce network segmentation that limits EPM Core server access to a dedicated management VLAN.
  • Require multi-factor authentication for accounts able to reach the EPM administrative interface.
  • Apply least-privilege configuration to the EPM database service account to reduce blast radius of SQL-level compromise.
  • Increase logging verbosity on the Core server and database tier until the patch is deployed and validated.
bash
# Configuration example: restrict inbound access to EPM Core server (Windows firewall)
New-NetFirewallRule -DisplayName "EPM Core - Mgmt Subnet Only" \
  -Direction Inbound \
  -Protocol TCP \
  -LocalPort 443 \
  -RemoteAddress 10.20.30.0/24 \
  -Action Allow

New-NetFirewallRule -DisplayName "EPM Core - Block Other" \
  -Direction Inbound \
  -Protocol TCP \
  -LocalPort 443 \
  -Action Block

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.