CVE-2021-34594 Beckhoff: Relative path traversal vulnerability through TwinCAT OPC UA Server
Administrators can exploit relative path traversal to create or delete arbitrary files on the system via the TwinCAT OPC UA Server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-34594?
CVE-2021-34594 is a medium-severity path traversal vulnerability in Beckhoff Automation TwinCAT OPC UA Server, published on 4 Nov 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
TwinCAT OPC UA Server in TF6100 and TS6100 in product versions before 4.3.48.0 or with TcOpcUaServer versions below 3.2.0.194 are prone to a relative path traversal that allow administrators to create or delete any files on the system.
Which versions are affected by CVE-2021-34594?
It affects 2 products.
Products include Beckhoff Tf6100 Firmware, Beckhoff Ts6100 Firmware.
How do I fix CVE-2021-34594?
No fix has been published for CVE-2021-34594 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-2021-34594 being exploited?
There is no known exploitation of CVE-2021-34594 in the wild and no public exploit code.
Sources
Also known as GHSA-pjgx-r654-8vfq.