VULNERABILITY INTELLIGENCE
CVE-2019-5170
CVSS score7.8 HIGH
EPSS probability1.36%
CISA KEVNot currently listed
Published2020-03-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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 0x1e87c the extracted hostname value from the xml file is used as an argument to /etc/config-tools/change_hostname hostname=<contents of hostname node> using sprintf(). This command is later executed via a call to system().
Weakness classification
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Primary references
- talos-cna@cisco.com — Exploit, Mitigation, Technical Description, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Mitigation, Technical Description, Third Party Advisory