Autodesk Fusion 360 <= 2.0.12887 “Insert SVG” Blind XXE
The Insert SVG feature in Autodesk Fusion 360 parsed SVG files with external entity loading enabled, allowing an attacker to make the application send requests to attacker-controlled servers. A victim opening a malicious SVG could leak their NetNTLM hash and the first line of local files.
Giulio 'linset' Casciaro Follow
Published on shielder.com
The “Insert SVG” feature of Autodesk Fusion 360 <= 2.0.12887 is affected by a Blind XML External Entities (XXE). An attacker able to force a victim into loading a malicious SVG in Autodesk Fusion 360 could obtain their NetNTLM hash and the partial content (first line) of the files stored on their client.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could obtain the victim's public IP address, read the first line of local files, and obtain the NetNTLM hash of the current user, which could potentially be relayed or cracked.
What the attacker needed
Victim opens a malicious SVG in Fusion 360; attacker controls a web or SMB server
The fix
Upgrade Autodesk Fusion 360 to version 2.1.10903 or later.
How it was found
- Set up a web server to receive requests.
- Create an SVG file that references an external DTD hosted on the attacker's server.
- Create the external DTD file that defines entities to read a local file and exfiltrate it via HTTP.
- Host the DTD file on the web server.
- In Autodesk Fusion 360, create a new project and go to Insert > Insert SVG.
- Choose 'Insert from my computer' and select the malicious SVG.
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 write-up has not been written yet. The Original tab links to the source.
When a program reads an SVG file, it uses an XML parser. If that parser is allowed to fetch external resources mentioned in the file, an attacker can trick it into contacting the attacker's server. This can leak information like a password hash or file contents.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.