CVE-2019-5172
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). An attacker can send a specially crafted packet to trigger the parsing of this cache file. At 0x1e840 the extracted ntp value from the xml file is used as an argument to /etc/config-tools/config_sntp time-server-%d= using sprintf(). This command is later executed via a call to system(). This is done in a loop and there is no limit to how many ntp entries will be parsed from the xml file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A command injection flaw in WAGO PFC 200 firmware 03.02.02(14) allows local attackers to execute arbitrary OS commands as root via a crafted XML cache file.
Vulnerability
The iocheckd service 'I/O-Check' function in WAGO PFC 200 Firmware version 03.02.02(14) contains a command injection vulnerability. The service parses a file-backed cache stored at /tmp/iocheckCache.xml, which is globally writable. During parsing, the value extracted from the ntp node in the XML file is used unsanitized as an argument to /etc/config-tools/config_sntp time-server-%d= via sprintf(). This command string is subsequently passed to system(). The parsing occurs in a loop with no limit on the number of ntp entries processed [1].
Exploitation
An attacker with local access (any user who can write to /tmp) can place a malicious XML file at /tmp/iocheckCache.xml. By sending a specially crafted BC_SaveParameter message, the attacker triggers the iocheckd service to parse this cache file. The injected OS commands within the ntp node content are then executed. No authentication beyond local user access is required, and the attack does not rely on user interaction beyond the write and message delivery [1].
Impact
Successful exploitation allows the attacker to execute arbitrary operating system commands with root privileges, leading to full compromise of the device. This results in complete loss of confidentiality, integrity, and availability (CIA). The attacker can read, modify, or delete any data, install backdoors, or disrupt controller operations [1].
Mitigation
As of the publication date, WAGO PFC 200 Firmware version 03.02.02(14) is affected. The advisory recommends updating to a patched firmware version if available; otherwise, restrict local write access to /tmp or apply network segmentation to limit attack surface. No workaround is provided in the available reference [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- talosintelligence.com/vulnerability_reports/TALOS-2019-0962mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.