Advantech WISE-PaaS/RMM AccountMgmt LoginForJWT XML External Entity Processing Information Disclosure Vulnerability
The AccountMgmt class in Advantech WISE-PaaS/RMM parsed XML without restricting external entity references, so a crafted document could make the parser fetch a URI and embed its contents back into the document. An unauthenticated remote attacker could use this to disclose sensitive information in the context of the SYSTEM account.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Advantech WISE-PasS/RMM. 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 in the AccountMgmt class was configured to resolve external entities, so attacker-supplied entity references were dereferenced and their contents returned.
Impact
An unauthenticated remote attacker could disclose sensitive information in the context of the SYSTEM account.
What the attacker needed
Network access to the affected service; no authentication needed
The fix
The XML parser should be configured to disable external entity and DTD processing; the vendor has 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.
Some software reads XML, a text format that can point to other files or web addresses through special markers called entities. If the parser is not told to ignore those markers, an attacker can make it read a file on the server and paste the contents into the reply. Here that let someone with no login read sensitive data as the SYSTEM user, a very powerful Windows account.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.