Unauthenticated code execution via RecordGoodApp SQL injection
Published May 31, 2024 · Updated Oct 21, 2025
SQL injection in Ivanti Endpoint Manager 2022 SU5 and earlier allows remote attackers on the same network to execute arbitrary code. The RecordGoodApp method in PatchBiz.dll inserts the attacker-controlled goodApp.md5 string into an SQL query with string.Format instead of parameterization. An unauthenticated request to the WSStatusEvents EventHandler web service can invoke xp_cmdshell and run code as the database service account.
Summary
What happened
SQL injection in Ivanti Endpoint Manager 2022 SU5 and earlier allows remote attackers on the same network to execute arbitrary code. The RecordGoodApp method in PatchBiz.dll inserts the attacker-controlled goodApp.md5 string into an SQL query with string.Format instead of parameterization. An unauthenticated request to the WSStatusEvents EventHandler web service can invoke xp_cmdshell and run code as the database service account.
The record
- CVE
- CVE-2024-29824
- Published
- May 31, 2024
- Updated
- Oct 21, 2025
- Vendor
- Ivanti
- Product
- Ivanti Endpoint Manager
- Classifications
- CWE-89, T1190, T1059.003
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 31, 2024CVE publishedPublication date reported by the CVE source.
- Oct 2, 2024Exploitation reportedCISA Known Exploited Vulnerabilities Catalog listing
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=2022_su5
- Affected versionversion=2022 SU5 <=2022 SU5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 10, 2026 | 5 |
| Sep 11, 2026 | 2 |
| Sep 12, 2026 | 1 |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | Unavailable |
| Sep 15, 2026 | Unavailable |
| Sep 16, 2026 | Unavailable |
Weakness, pattern, technique
Public exploit references
- Horizon3.ai CVE-2024-29824 proof of conceptproof of concept · demonstrated
- Metasploit Ivanti EPM RecordGoodApp SQLi RCE modulefunctional · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo