Summary
By default, TwinCAT/BSD-based products have a device-specific web interface for web-based management (WBM) enabled, developed by Beckhoff and known as Beckhoff Device Manager UI. It can be accessed remotely or locally. When accessed locally, the user can bypass input validation by entering specially crafted inputs into the user interface for certain pages, which then allows local commands to be executed with administrative privileges.
Details
Impact
A local, low privileged attacker could bypass input validation by entering specially crafted inputs into
the user interface for certain pages, which then allows local commands to be executed with administrative
privileges.
Mitigation
Avoid the existence of user accounts with login permission on the target other than administrator access. By default, TwinCAT/BSD has preconfigured user accounts with lower privileges, but none of them have a password, which results in them being denied login access. Avoid running third-party applications on the target that have not been properly audited, regardless of the user they are running as.
Remediation
Please update to a recent version of the affected product. In general, Beckhoff recommends updating the entire TwinCAT/BSD operating system to a current version rather than individual packages. Information on updating existing TwinCAT/BSD installations is available in [here:](https://infosys.beckhoff.com/content/1033/twincat_bsd/11780818443.html?id=4222392218353411614). There you will also find information on how to determine the operating system version via the command line. This is also visible via the Beckhoff Device Manager UI. Please note that when updating from the TwinCAT/BSD major version 12, two consecutive upgrades are required.
Vulnerabilities 1
-
High 7.3
Beckhoff: Improper input neutralization vulnerability in the IPC-Diagnostics package in TwinCAT/BSD
The IPC-Diagnostics package in TwinCAT/BSD is susceptible to improper input neutralization by a low-privileged local attacker.
Revision history
-
#5
Fix: quotation mark
-
#4
Fix: version range
-
#3
Fix: list of branches
-
#2
Fix: correct certvde domain, added self-reference
-
#1
initial revision
References
-
Beckhoff Security Advisory 2024-002: Improper neutralization of input in TwinCAT/BSD package 'IPC-Diagnostics-www' - PDF version
https://download.beckhoff.com/download/Document/product-security/Advisories/advisory-2024-002.pdf
-
Additional information about the latest IPC security advisories is provided here:
https://www.beckhoff.com/secinfo
-
VDE-2024-048: Beckhoff: Improper neutralization of input in IPC-Diagnostics-www package included in TwinCAT/BSD operating system - HTML
https://certvde.com/en/advisories/vde-2024-048
-
CERT@VDE Security Advisories for Beckhoff Automation GmbH & Co. KG
https://certvde.com/en/advisories/vendor/beckhoff/
-
Detailed information on updating the TwinCAT/BSD operating system
https://infosys.beckhoff.com/content/1033/twincat_bsd/11780818443.html?id=4222392218353411614