Ivanti Avalanche InstallPackageThread Time-Of-Check Time-Of-Use Remote Code Execution Vulnerability
A time-of-check time-of-use flaw in the InstallPackageThread class of Ivanti Avalanche allows an authenticated remote attacker to execute arbitrary code with SYSTEM privileges. The vulnerability stems from improper locking during object operations.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ivanti Avalanche. 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 a race condition due to missing or improper locking when multiple threads access a shared object in the InstallPackageThread class.
Impact
An authenticated remote attacker could execute arbitrary code with SYSTEM privileges on affected installations.
What the attacker needed
Authentication required
The fix
Ivanti has issued an update to correct this vulnerability.
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.
This is a race condition bug: the software checks something, but before it uses that check, another action can change the situation. An attacker with a valid login can exploit this timing gap to run their own code with the highest system permissions.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.