Skip to content
RCE Write-up Advanced

RCE Vulnerabilities in the TCP/IP Stack of the VxWorks Realtime OS

Eleven vulnerabilities in the VxWorks IPnet TCP/IP stack, six of which allow remote code execution, can be triggered by crafted network packets without user interaction. An attacker could take over devices, bypass firewalls and NAT, and spread malware within networks.

armis.com

Published on armis.com

Read the Update (December 15, 2020) Read the Update (October 1, 2019)

The author, on armis.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

Likely programming errors in the IPnet TCP/IP stack, such as improper handling of IP options, TCP urgent pointers, and DHCP responses, leading to memory corruption.

Impact

An attacker could remotely take complete control of affected devices, bypass firewalls and NAT, and use the vulnerabilities to spread malware within networks.

What the attacker needed

Network access to the device; no user interaction required

The fix

Wind River released VxWorks 7 on July 19 containing fixes for all the discovered vulnerabilities, and manufacturers were advised to patch.

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.

VxWorks is an operating system used in many industrial, medical, and networking devices. The report describes eleven security flaws in the part of VxWorks that handles network traffic. Some of these flaws let an attacker run their own code on the device just by sending special network packets, without the user doing anything.

What is RCE?

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

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.