(Pwn2Own) Phoenix Contact CHARX SEC-3150 Race Condition Firewall Bypass Vulnerability
A race condition during device shutdown allows network-adjacent attackers to bypass firewall rules without authentication. An attacker could combine this with other vulnerabilities to execute code as root.
This vulnerability allows network-adjacent attackers to bypass firewall rules on affected installations of Phoenix Contact CHARX SEC-3150 devices. 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 a race condition in firewall rule handling during device shutdown, where access control is not enforced correctly.
Impact
A network-adjacent attacker could bypass firewall rules and, in conjunction with other vulnerabilities, execute code as root.
What the attacker needed
Network-adjacent access; device shutdown timing; another vulnerability for code execution
The fix
It was fixed in firmware v1.9.1.
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.
A firewall is a set of rules that decides which network traffic is allowed in or out. Here, if an attacker sends traffic at the exact moment the device is shutting down, the firewall rules are not applied properly, so traffic that should be blocked gets through. The attacker still needs to be on the same network and would need another bug to actually run code.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.