Vendor description
"We are a technology company focused on industry, infrastructure, transport, and healthcare. From more resource-efficient factories, resilient supply chains, and smarter buildings and grids, to cleaner and more comfortable transportation as well as advanced healthcare, we create technology with purpose adding real value for customers. By combining the real and the digital worlds, we empower our customers to transform their industries and markets, helping them to transform the everyday for billions of people."
Source: new.siemens.com/global/en/company/about.html
Business recommendation
Update to the current firmware in order to fix the missing authentication vulnerability. Siemens will not fix the denial of service vulnerability.
SEC Consult highly recommends to perform a thorough security review of the product conducted by security professionals to identify and resolve potential further security issues.
Vulnerability overview/description
1) Missing Authentication at File Download (CVE-2022-27480)
Several files that can be created by an authorized user are placed in the web server's root directory. The user can then download these files with a press on a UI button. However, the files are not deleted automatically after the user downloads them. The filenames are static and the download does not require any authentication. Therefore, they can be retrieved by anybody later.
2) Denial of Service Condition
The PLC will stop responding to any connection attempts as soon as a light network load is placed on it. This effectively shuts down the management interfaces.
Proof of concept
1) Missing Authentication at File Download (CVE-2022-27480)
First, a file has to be created. This is possible by logging into SICAM Web. As an example, a network traffic capture can be created by navigating to "Monitoring & Simulation" -> "Ethernet Packet Capture". The following request shows how another client downloads the resulting wireshark.zip file without sending any authentication headers.
GET /wireshark.zip HTTP/1.1
Host: [IP]
The server responds with the created capture file:
HTTP/1.1 200 OK
Content-Type: application/zip
Accept-Ranges: bytes
Cache-Control: max-age=0, private
Content-Length: 370
Server: A8000
[...]
PKÃV\S!ÃM>wireshark0.pcap
[...]
2) Denial of Service Condition
Putting a light network load on the PLC's interfaces causes a denial of service condition. In the tests it was enough to run a directory bruteforce with 5 threads in order to shut down all management interfaces. After the scan stopped, it took several minutes for the PLC to come back online.
Vulnerable / tested versions
The following product has been tested:
- Siemens A8000 CP-8050 SICAM Web 05.50