Buffer overflow in Wago Pfc200

CVE-2019-5176

An exploitable stack buffer overflow vulnerability vulnerability exists in the iocheckd service ‘I/O-Check’ functionality of 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.The destination buffer sp+0x40 is overflowed with the call to sprintf() for any gateway values that are greater than 512-len(‘/etc/config-tools/config_default_gateway number=0 state=enabled value=‘) in length. A gateway value of length 0x7e2 will cause the service to crash.

Vulnerability class: Buffer Overflow

EPSS: 0.005 (43.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

  • talos-cna@cisco.com (Technical Description, Exploit, Third Party Advisory, x_refsource_MISC, Mitigation)

Frequently asked questions

What is CVE-2019-5176?
CVE-2019-5176 is a medium-severity vulnerability in Wago Pfc200, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2020-03-12.
How severe is CVE-2019-5176?
Medium severity. CVSS v3 base score is 5.5 out of 10.