Skip to content
File upload Advisory Intermediate CVE-2024-25994

(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.

nccgroupinfosec Follow

Originally disclosed on Zero Day Initiative

Medium 5.3 View original

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.

NCC Group EDG (@nccgroupinfosec @_mccaulay @alexjplaskett), on the Zero Day Initiative

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.

More by nccgroupinfosec

View all

6 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.