(Pwn2Own) Phoenix Contact CHARX SEC-3100 Improper Access Control Firewall Bypass Vulnerability
The firewall rules on Phoenix Contact CHARX SEC-3100 devices filter inbound traffic based on the source port, which allows network-adjacent attackers to bypass firewall rules and access another interface. Authentication is not required, and an attacker can combine this with other vulnerabilities to execute code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to bypass firewall rules and access another interface on affected installations of Phoenix Contact CHARX SEC-3100 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
Impact
A network-adjacent attacker without authentication could bypass firewall rules and reach another interface, and could combine this with other vulnerabilities to execute code as root.
What the attacker needed
Network-adjacent access; no authentication required
The fix
Phoenix Contact issued an update to correct this 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.
A firewall is supposed to block unwanted network traffic, but here it made a mistake: it decided whether to allow traffic by looking at the sender's port number instead of the sender's address. An attacker on the same network can therefore send traffic that looks like it comes from an allowed port and slip past the firewall to reach another interface. This alone does not give code execution, but it can be used together with other bugs to run code as the root user.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.