CVE-2019-5177 Memory corruption in WAGO PFC200

Medium 5.5 Published Updated

A stack buffer overflow in the iocheckd service allows attackers to crash the device or potentially execute arbitrary code via crafted domain name inputs.

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-5177?

CVE-2019-5177 is a medium-severity memory corruption vulnerability in WAGO PFC200, published on 11 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 vulnerability exists in the iocheckd service ‘I/O-Check’ functionality of WAGO PFC 200 Firmware version 03.02.02(14). The destination buffer sp+0x440 is overflowed with the call to sprintf() for any domainname values that are greater than 1024-len(‘/etc/config-tools/edit_dns_server domain-name=‘) in length. A domainname value of length 0x3fa will cause the service to crash.

Weakness: CWE-787

Which versions are affected by CVE-2019-5177?

It affects 1 product.

Products include Wago Pfc200 Firmware.

How do I fix CVE-2019-5177?

No fix has been published for CVE-2019-5177 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-5177 being exploited?

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

Sources

Also known as GHSA-7rwr-c2gp-x6p4.

Is CVE-2019-5177 in your software?

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

Check your SBOMs for free