CVE-2019-5159 Path traversal in WAGO e!COCKPIT
Attackers can achieve code execution on WAGO controllers by tricking users into installing a malicious firmware update file containing arbitrary file writes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2019-5159?
CVE-2019-5159 is a high-severity path traversal vulnerability in WAGO e!COCKPIT, published on 10 Mar 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An exploitable improper input validation vulnerability exists in the firmware update functionality of WAGO e!COCKPIT automation software v1.6.0.7. A specially crafted firmware update file can allow an attacker to write arbitrary files to arbitrary locations on WAGO controllers as a part of executing a firmware update, potentially resulting in code execution. An attacker can create a malicious firmware update package file using any zip utility. The user must initiate a firmware update through e!COCKPIT and choose the malicious wup file using the file browser to trigger the vulnerability.
Weakness: CWE-668
Which versions are affected by CVE-2019-5159?
It affects 1 product.
Products include Wago E\!cockpit.
How do I fix CVE-2019-5159?
No fix has been published for CVE-2019-5159 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-5159 being exploited?
There is no known exploitation of CVE-2019-5159 in the wild and no public exploit code.
Other vulnerabilities in WAGO e!COCKPIT
Sources
Also known as GHSA-f5w9-64vw-8wmq.