CVE-2022-32143 CODESYS runtime system prone to directory acces

High 8.8 Published Updated

Attackers can access internal PLC files via file upload/download functions if no password is set, leading to data exposure or modification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-32143?

CVE-2022-32143 is a high-severity path traversal vulnerability in CODESYS PLCWinNT, published on 24 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In multiple CODESYS products, file download and upload function allows access to internal files in the working directory e.g. firmware files of the PLC. All requests are processed on the controller only if no level 1 password is configured on the controller or if remote attacker has previously successfully authenticated himself to the controller. A successful Attack may lead to a denial of service, change of local files, or drain of confidential Information. User interaction is not required

Weakness: CWE-552

Which versions are affected by CVE-2022-32143?

It affects 2 products.

Products include Codesys Plcwinnt, Codesys Runtime Toolkit.

How do I fix CVE-2022-32143?

No fix has been published for CVE-2022-32143 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-32143 being exploited?

There is no known exploitation of CVE-2022-32143 in the wild and no public exploit code.

Sources

Also known as GHSA-2rg2-4589-q6mj.

Is CVE-2022-32143 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free