Exploiting CVE-2017-11286 Six Years Later: XXE in ColdFusion via WDDX Packet
A vulnerability in ColdFusion's WDDX deserializer allowed XML external entity (XXE) injection when a WDDX packet was passed in the argumentCollection parameter to any CFC method. An attacker could exploit this to perform actions such as HTTP callbacks or data exfiltration.
🎈🎂🎂🎂🎂🎂🎂🎈Six years ago today, on September 12, 2017, Adobe released APSB17-30. Among three other vulnerabilities, it included a patch for CVE-2017-11286 a Critical XML eXternal entities (XXE) bug in ColdFusion.
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
Root cause
The WddxDeserializer class lacked SAX security settings to prevent XML external entity processing.
Impact
An attacker could perform XXE attacks such as HTTP callbacks or data exfiltration, and the method or component specified in the request does not need to exist.
What the attacker needed
ColdFusion server with vulnerable version; Ability to send HTTP requests to the server
The fix
The vulnerability was addressed in ColdFusion 11 Update 13 and ColdFusion 2016 Update 5.
How it was found
- Send a POST request to a ColdFusion component (.cfc) with a method parameter.
- Include an argumentCollection parameter containing a WDDX packet with an XXE payload.
- The server processes the WDDX packet and resolves the external entity, triggering an HTTP callback to the attacker's server.
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.
ColdFusion is a server platform for building web applications. An XXE attack tricks the server into fetching external files or URLs by abusing how it processes XML input. Here, the server accepted a specially crafted XML packet and processed it insecurely, letting an attacker make the server send requests to a location they control.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.