(Pwn2Own) Phoenix Contact CHARX SEC-3100 CharxUpdateAgent Unrestricted File Upload Remote Code Execution Vulnerability
The CharxUpdateAgent service on Phoenix Contact CHARX SEC-3100 devices lacks proper validation of user-supplied data, allowing unauthenticated network-adjacent attackers to upload arbitrary files. An attacker could combine this with other vulnerabilities to execute code as the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to create arbitrary files 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
An attacker could create arbitrary files and, in conjunction with other vulnerabilities, execute code as the service account.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vendor has 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.
This device runs a service that accepts files from the network without checking what they are. An attacker on the same network can send any file they want, and later use that to run their own code on the device.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.