Ivanti Avalanche decodeToMap XML External Entity Processing Information Disclosure Vulnerability
The decodeToMap method in Ivanti Avalanche improperly restricts XML external entity references, allowing a crafted document to make the XML parser access a URI and embed its contents. An unauthenticated remote attacker could exploit this to disclose sensitive information in the context of SYSTEM.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Ivanti Avalanche. Authentication is not 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
The XML parser used by the decodeToMap method does not disable or restrict external entity resolution.
Impact
An unauthenticated remote attacker could disclose sensitive information in the context of SYSTEM.
What the attacker needed
None
The fix
Ivanti issued an update to correct the 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.
XML documents can include special references called external entities that tell the parser to fetch content from another location. If the parser is not configured to block these, an attacker can supply a document that points to a sensitive file on the server, and the parser will read it and include it in the output. This report says that is what happens in one method of Ivanti Avalanche, and no login is needed.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.