Skip to content
RCE Write-up Advanced

Adobe ColdFusion Deserialization RCE (CVE-2017-11283, CVE-2017-11284)

Adobe ColdFusion's Flex integration RMI service exposed methods that accept arbitrary Java objects, allowing unauthenticated Java deserialization attacks. An attacker could send a crafted serialized object to execute arbitrary code under the local SYSTEM account.

Nicky Bloor Follow

Published on nickbloor.co.uk

During my research into the Java Remote Method Invocation (RMI) protocol, the most common RMI service that I came across was Adobe ColdFusion’s Flex integration service which is used to support integration between Flash applications and ColdFusion components. A quick look at this service led to the discovery of two…

Nicky Bloor (@NickstaDB), on nickbloor.co.uk

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 RMI service deserialized arbitrary Java objects received from remote clients without validating their type or origin.

Impact

An unauthenticated attacker could execute arbitrary code on the server, which runs under the local SYSTEM account by default.

What the attacker needed

Network access to the RMI service; no authentication required

The fix

Adobe released a security update, but it was not sufficient on its own because the bundled Java runtime also had to be updated manually.

How it was found

  1. Enumerate RMI endpoints to find the ColdFusion Flex integration service.
  2. Download and install a trial version of ColdFusion to obtain the relevant interface class.
  3. Identify the DataServicesCFProxy interface and note its methods accept arbitrary objects.
  4. Generate a Java deserialization payload using ysoserial.
  5. Modify serialVersionUID values in the payload to match the remote classes.
  6. Send the crafted payload to the RMI service to trigger code execution.

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.

Java serialization turns objects into a stream of bytes so they can be sent over a network. If a service deserializes untrusted bytes without checking what they contain, an attacker can craft bytes that make the service run their code. Here, ColdFusion's remote service accepted such bytes from anyone, so an attacker could run commands on the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Adobe (ColdFusion)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.