Advantech WebAccess/NMS MibbrowserTrapAddAction XML External Entity Reference Information Disclosure Vulnerability
The MibbrowserTrapAddAction method in Advantech WebAccess/NMS improperly restricts XML external entity references, allowing a specially crafted document to make the XML parser access a URI and embed its contents. An unauthenticated remote attacker could exploit this to disclose file contents in the context of SYSTEM.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Advantech WebAccess/NMS. 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 MibbrowserTrapAddAction method did not disable external entity resolution, allowing attacker-controlled XML to reference local or remote resources.
Impact
An unauthenticated remote attacker could disclose sensitive file contents in the context of SYSTEM.
What the attacker needed
Network access to the affected service; no authentication required
The fix
The vendor 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 instructions called external entities that tell the parser to fetch data from a web address or file. If the parser is not configured to block these, an attacker can make it read sensitive files on the server and include their contents in the response. Here, the MibbrowserTrapAddAction method did not block such entities, so an unauthenticated attacker could read files on the system.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.