SAP 3D Visual Enterprise Viewer SVG File XML External Entity Processing Information Disclosure Vulnerability
The SVG file parser in SAP 3D Visual Enterprise Viewer did not properly restrict XML External Entity references, so a crafted document could make the parser fetch a URI and embed its contents back into the document. An attacker could use this to disclose sensitive information in the context of the current process.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of SAP 3D Visual Enterprise Viewer. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 XML parser used for SVG files was left with external entity resolution enabled and no restriction on which URIs it may access.
Impact
An attacker could disclose sensitive information in the context of the current process, but the victim must first visit a malicious page or open a malicious file.
What the attacker needed
Victim opens a malicious SVG file; victim visits a malicious page
The fix
The issue was fixed in version 9.0 FP09 MP3.
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.
SVG files are XML documents, and XML has a feature called entities that can point to other files or web addresses. If a program lets a file pull in whatever address it names, an attacker can make it read local files or internal resources and show the results. Here the viewer did not block that, so opening a malicious SVG could leak data.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.