Title: Barco wePresent Global Hardcoded Root SSH Password Advisory ID: KL-001-2020-008 Publication Date: 2020.11.20 Publication URL: https://korelogic.com/Resources/Advisories/KL-001-2020-008.txt
Affected Vendor: Barco Affected Product: wePresent WiPG-1600W Affected Version: 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168 Platform: Embedded Linux CWE Classification: CWE-798: Use of Hard-coded Credentials CVE ID: CVE-2020-28334
The Barco wePresent device has a hardcoded root password hash included in the firmware image. To our knowledge the password hash has not been cracked and published; it is possible this could occur at any time. This combined with KL-001-2020-004 (CVE-2020-28329), KL-001-2020-005 (CVE-2020-28330), and KL-001-2020-007 (CVE-2020-28331) could be used in a simple and automated exploit chain to go from unauthenticated remote attacker to root shell.
In looking at the unpacked firmware, a root hash was quickly identified in the /etc/shadow file on the device. It is the only account in the /etc/shadow. The device does not prompt the administrator to set a new root password, therefore this password is hardcoded and exists across all devices.
Mitigation and Remediation Recommendation
The vendor has released an updated firmware (22.214.171.124) which remediates the described vulnerability. Firmware and release notes are available at:
This vulnerability was discovered by Jim Becher (@jimbecher) of KoreLogic, Inc.
2020.08.24 - KoreLogic submits vulnerability details to Barco. 2020.08.25 - Barco acknowledges receipt and the intention to investigate. 2020.09.21 - Barco notifies KoreLogic that this issue, along with several others reported by KoreLogic, will require more than the standard 45 business day remediation timeline. Barco requests to delay coordinated disclosure until 2020.12.11. 2020.09.23 - KoreLogic agrees to 2020.12.11 coordinated disclosure. 2020.09.25 - Barco informs KoreLogic of their intent to acquire CVE number for this vulnerability. 2020.11.09 - Barco shares CVE number with KoreLogic and announces their intention to release the updated firmware ahead of schedule, on 2020.11.11. Request that KoreLogic delay public disclosure until 2020.11.20. 2020.11.11 - Barco firmware release. 2020.11.20 - KoreLogic public disclosure.
Proof of Concept
After unpacking the firmware: $ ls -al etc/shadow -rwxr-xr-x 1 user user 59 May 25 00:11 etc/shadow
$ cat etc/shadow root:$1$reqE8o6b$[REDACTED]:12940:0:99999:7:::