PT-2020-11104 · Wago · Wago Pfc 200

Kelly Leuschner

·

Published

2020-03-23

·

Updated

2021-07-21

·

CVE-2019-5185

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, specifically in the "I/O-Check" functionality. This can be triggered by sending a specially crafted packet, causing the parsing of a cache file. The vulnerability involves the use of sprintf() to format a string with a state value extracted from an XML file, which can lead to a buffer overflow at sp+0x40. Later, strcpy() is used to copy the contents of this overflowed buffer into an adjacent buffer sp+0x440 on the stack, resulting in invalid memory access due to the lack of NULL termination. An attacker can exploit this by providing a state value of sufficient length, such as 0x3c9, to 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

Memory Corruption

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

Weakness Enumeration

Related Identifiers

CVE-2019-5185

Affected Products

Wago Pfc 200