RCE in Wago Pfc200
CVE-2019-5173
An exploitable command injection vulnerability exists in the iocheckd service ‘I/O-Check’ function of the WAGO PFC 200 Firmware version 03.02.02(14). A specially crafted XML cache file written to a specific location on the device can be used to inject OS commands. An attacker can send a specially crafted packet to trigger the parsing of this cache file. At 0x1e9fc the extracted state value from the xml file is used as an argument to /etc/config-tools/config_interfaces interface=X1 state=<contents of state node> using sprintf(). This command is later executed via a call to system().
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.014 (71.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 71.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
- Wago Pfc200
- Wago Pfc200 Firmware — versions 03.02.02\(14\), 03.02.02(14)
- Wago Pfc200 — versions Firmware version 03.02.02(14)
Weakness classification (CWE)
References
- talosintelligence.com/vulnerability_reports/TALOS-2019-0962 (Technical Description, Exploit, Third Party Advisory, Mitigation)
Frequently asked questions
- What is CVE-2019-5173?
- CVE-2019-5173 is a high-severity vulnerability in Wago Pfc200, classified under OS Command Injection. CVSS score: 7.8/10. Published 2020-03-11.
- How severe is CVE-2019-5173?
- High severity. CVSS v3 base score is 7.8 out of 10.