Skip to content
RCE Write-up Advanced

DoubleTrouble

Two Java deserialization vulnerabilities in Inductive Automation Ignition allow unauthenticated remote attackers to execute arbitrary code with SYSTEM privileges. The flaws are in the JavaSerializationCodec and ParameterVersionJavaSerializationCodec classes, which deserialize untrusted input without validation.

Rocco Calvi Follow

Published on github.com

BranchesTags

Rocco Calvi (@TecR0c), Steven Seeley (@steventseeley), on github.com

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 decode methods in JavaSerializationCodec and ParameterVersionJavaSerializationCodec deserialize untrusted input without proper validation, allowing arbitrary object deserialization.

Impact

An unauthenticated remote attacker could execute arbitrary code with SYSTEM privileges, leading to complete system compromise, data theft, and unauthorized system control.

What the attacker needed

Gateway network configured; SSL disabled unless HTTPS enabled; No authentication required

The fix

Users of Ignition version <= 8.1.24 should update to the latest version as soon as possible.

How it was found

  1. Configure the gateway network (a common setup).
  2. Send a crafted request to the DataChannelServlet with a ProtocolHeader containing a connection ID that exists.
  3. Set the intent name to '_conn_svr' and the codec name to '_js_' to trigger deserialization in JavaSerializationCodec.
  4. For the second vulnerability, first send a request to register the ParameterVersionJavaSerializationCodec via a service invocation.
  5. Then send a second request with codec name '_js_tps_v3' to trigger deserialization in ParameterVersionJavaSerializationCodec.

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 receives data, it sometimes converts it back into objects. If that data is not checked, an attacker can send a malicious object that runs code when the program processes it. Here, the Ignition software does this without requiring a login, so an attacker can 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 Inductive Automation Ignition

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.