CVE-2022-32143 CODESYS runtime system prone to directory acces
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.
Other vulnerabilities in CODESYS PLCWinNT
- CVE-2022-31806 Insecure default settings in CODESYS Runtime Toolkit 32 bit full and CODESYS PLCWinNT
- CVE-2022-32137 CODESYS Runtime System prone to heap based buffer overflow
- CVE-2022-32138 CODESYS runtime system prone to denial of service due to Unexpected Sign Extension
- CVE-2022-1965 CODESYS runtime system prone to file deletion due to improper error handling
- CVE-2022-32142 CODESYS runtime system prone to denial of service due to use of out of range pointer
Sources
Also known as GHSA-2rg2-4589-q6mj.