The remotely exploitable vulnerabilities are cross-site request forgery (CSRF), cross-site scripting (XSS), OS command injection, NULL pointer dereference, out-of-bounds read, and key management errors. T. Weber of SEC Consult Vulnerability Lab reported this vulnerability.
Pepperl+Fuchs analyzed and identified affected devices and remote attackers may exploit multiple vulnerabilities to get access to the device and execute any program and tap information.
The products affected by the issues are P+F Comtrol from versions 1.5.48 and under:
- IO-Link Master 4-EIP
- IO-Link Master 8-EIP
- IO-Link Master 8-EIP-L
- IO-Link Master DR-8-EIP
- IO-Link Master DR-8-EIP-P
- IO-Link Master DR-8-EIP-T
- IO-Link Master 4-PNIO
- IO-Link Master 8-PNIO
- IO-Link Master 8-PNIO-L
- IO-Link Master DR-8-PNIO
- IO-Link Master DR-8-PNIO-P
- IO-Link Master DR-8-PNIO-T
In one issue there is a cross-site request forgery (CVE-2020-12511) that has a CVSS base score of 8.8.
In addition, there is a cross-site scripting (XSS) (CVE-2020-12512) vulnerability that has a CVSS base score of 7.5.
Also, there is an OS command injection (CVE-2020-12513) vulnerability that has a CVSS base score of 7.5.
In another issue, there is a NULL pointer dereference (CVE-2020-12514) which has a CVSS base score of 6.6.
In addition, there is an out-of-bounds read (CVE-2018-20679) vulnerability that has a CVSS base score of 7.5.
Also, there is a key management errors (CVE-2018-0732) vulnerability that has a CVSS base score of 6.0.
In order to prevent the exploitation of the reported vulnerabilities, users should update the affected units with the following three firmware packages:
- U-Boot bootloader version 1.36 or newer
- System image version 1.52 or newer
- Application base version 1.6.11 or newer
Furthermore, it is recommended to observe the following measures if the affected products are on public networks:
- An external protective measure to be put in place. Traffic from untrusted networks to the device should be blocked by a firewall. Especially traffic targeting the administration webpage.
- Device user accounts to be enabled with secure passwords. If non-trusted people/applications have access to the network that the device is connected to, then configuring passwords for all three User Accounts is recommend.

