Web-Based Management of Wago’s industrial managed switches is typically used for administration, commissioning and updates. The reported vulnerabilities allow an attacker with access to the device and the Web-Based Management, to install malware, access to password hashes and create user with admin credentials.
By exploiting the described vulnerabilities, the attacker potentially is able to manipulate or to disrupt the device. These vulnerabilities were reported by Dr. Tobias Augustin of IKS – Institut für Kooperative Systeme GmbH, Stephan Tigges of IKS – Institut für Kooperative Systeme GmbH, Kai Gaul of ABO Wind AG, and Jan Rübenach of ABO Wind AG.
Affected product item numbers include:
- 0852-0303 from version V1.2.3.S0 and below
- 0852-1305 from version V1.1.7.S0 and below
- 0852-1505 from version V1.1.6.S0 and below
- 0852-1305/000-001 from version V1.0.4.S0 and below
- 0852-1505/000-001 from version V1.0.4.S0 and below
In one issues in the managed switch directory listing, there is an exposure of sensitive information to an unauthorized actor vulnerability. Directory Listing activated in the web server of the administration interface of the Wago Ethernet Switches provides an attacker with the index of the resources located inside the directory.
CVE-2021-20993 is the case number, which has a CVSS v3.1 base score of 5.3.
In addition, there is a reflected cross-site scripting issue where there is an improper neutralization of input during web page generation where an authorized attacker is able to inject possible malicious code on the web-based management.
CVE-2021-20994 is the case number, which has a CVSS v3.1 base score of 8.8.
Also, there is a storage of user credentials in a cookie vulnerability that allows cleartext storage of sensitive information where the webserver cookies contain user credentials.
CVE-2021-20995 is the case number, which has a CVSS v3.1 base score of 7.5.
In another issue, there are unsecure cookie settings that have an incorrect permission assignment for critical resource vulnerability where with special crafted requests webserver cookies can be transfered to third parties.
CVE-2021-20996 is the case number, which has a CVSS v3.1 score of 5.3.
In addition, there is an unauthorized access to password hashes that insufficiently protects credentials where it is possible to read out the password hashes of all Web-based Management users.
CVE-2021-20997 is the case number, which has a CVSS v3.1 score of 7.5.
Also, there is an unauthorized creation of user accounts vulnerability that has a missing authentication for critical function where without authorization and with specially crafted packets it is possible to create users.
CVE-2021-20998 is the case number, which has a CVSS v3.1 score of 10.0.
The Web-Based Management is only needed during installation and commissioning, not during normal operations. It is recommended to disable the web server after commissioning. The Command Line Interface (CLI) is an alternative for commissioning the device. This is the easiest and more secure way to protect your device from the listed vulnerabilities.
The vulnerabilities are fixed with following firmware releases:
- 0852-0303 new version V1.2.5.S0
- 0852-0303 new version V1.2.3.S1
- 0852-1305 new version V1.1.8.S0
- 0852-1505 new version V1.1.7.S0
- 0852-1305/000-001 new version V1.1.4.S0
- 0852-1505/000-001 new version V1.1.4.S0
In addition, Wago released mitigations, including:
- Disable the web server of the device
- Use the CLI interface of the device
- Update to the latest firmware
- Restrict network access to the device
- Do not directly connect the device to the Internet

