CVE-2019-5166 Memory corruption in WAGO PFC200 Firmware

High 7.8 Published Updated

A stack buffer overflow in the WAGO PFC 200 iocheckd service allows remote code execution via a crafted XML cache file.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-5166?

CVE-2019-5166 is a high-severity memory corruption vulnerability in WAGO PFC200 Firmware, published on 10 Mar 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An exploitable stack buffer overflow vulnerability exists in the iocheckd service ‘I/O-Check’ functionality of WAGO PFC 200 version 03.02.02(14). A specially crafted XML cache file written to a specific location on the device can cause a stack buffer overflow, resulting in code execution. An attacker can send a specially crafted packet to trigger the parsing of this cache file.

Weakness: CWE-787

Which versions are affected by CVE-2019-5166?

It affects 1 product.

Products include Wago Pfc200 Firmware.

How do I fix CVE-2019-5166?

No fix has been published for CVE-2019-5166 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-5166 being exploited?

There is no known exploitation of CVE-2019-5166 in the wild and no public exploit code.

Sources

Also known as GHSA-w4qg-v526-9gvf.

Is CVE-2019-5166 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free