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.
Published on github.com
BranchesTags
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
- Configure the gateway network (a common setup).
- Send a crafted request to the DataChannelServlet with a ProtocolHeader containing a connection ID that exists.
- Set the intent name to '_conn_svr' and the codec name to '_js_' to trigger deserialization in JavaSerializationCodec.
- For the second vulnerability, first send a request to register the ParameterVersionJavaSerializationCodec via a service invocation.
- 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.