Mitsubishi Electric MELSEC iQ-F Predictable TCP Sequence Number Remote Code Execution Vulnerability
The device generates ACK packets with a predictable TCP sequence number. A remote unauthenticated attacker could exploit this to execute arbitrary code in the context of the current process.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Mitsubishi Electric MELSEC iQ-F. Authentication is not required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the TCP stack derived initial sequence numbers from a predictable source instead of a strong random value.
Impact
A remote attacker without credentials could execute arbitrary code on the device, though the text gives no further detail on reliability or preconditions.
What the attacker needed
Network access to the device; no authentication needed
The fix
The vendor issued an update to correct the vulnerability.
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 report has not been written yet. The Original tab links to the source.
Every internet conversation uses numbered packets so both sides can keep track. If those numbers follow a pattern an outsider can guess, the outsider can slip fake packets into the conversation. Here the device made the numbers too predictable, and the report says that could let an attacker run their own code on the device.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.