Skip to content
SQL injection Advisory Advanced CVE-2025-62389

(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

High 7.2 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ivanti Endpoint Manager. Authentication is required to exploit this vulnerability.

06fe5fd2bc53027c4a3b7e395af0b850e7b8a044, on the Zero Day Initiative

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.

More by 06fe5fd2bc53027c4a3b7e395af0b850e7b8a044

View all

170 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.