(0Day) Ivanti Endpoint Manager GetCountForQuery SQL Injection Remote Code Execution Vulnerability
The GetCountForQuery method in Ivanti Endpoint Manager fails to validate a user-supplied string before using it to build SQL queries. An authenticated remote attacker could exploit this to execute arbitrary code in the context of the service account.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ivanti Endpoint Manager. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the GetCountForQuery method concatenates an unvalidated user-supplied string directly into a SQL query instead of using parameterised queries.
Impact
An authenticated remote attacker could execute arbitrary code as the service account; the text does not describe any defence that blocked it.
What the attacker needed
Valid authentication to Ivanti Endpoint Manager
The fix
The vendor published a security advisory and patched the issue in October 2025.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SQL injection is when a program builds a database command by gluing together text from a user without checking it, so the user can sneak in extra database instructions. Here that flaw is serious enough that the attacker can run their own code on the server, not just read data. The attacker must already have a valid login to the product.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.