PT-2020-11105 · Wago · Wago Pfc 200

Published

2020-03-23

·

Updated

2021-07-21

·

CVE-2019-5186

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions WAGO PFC 200 (affected versions not specified)
Description A stack buffer overflow issue exists in the iocheckd service's "I/O-Check" functionality. This can be triggered by sending a specially crafted packet, causing the parsing of a cache file. The vulnerability occurs when the extracted interface element name from an XML file is used as an argument to the /etc/config-tools/config interfaces interface, using sprintf(). If the interface value is greater than 512 characters in length, it overflows the destination buffer. Later, strcpy() is used to copy the contents of the overflowed buffer, resulting in invalid memory access due to the lack of NULL termination. An interface value of length 0x3c4 can cause the service to crash.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Buffer Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-5186

Affected Products

Wago Pfc 200