CVE-2019-5180 Memory corruption in WAGO PFC200
A stack buffer overflow in the WAGO PFC200 iocheckd service allows remote attackers to cause a denial of service or potentially execute arbitrary code via crafted packets.
- 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-5180?
CVE-2019-5180 is a high-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). An attacker can send a specially crafted packet to trigger the parsing of this cache file. The destination buffer sp+0x440 is overflowed with the call to sprintf() for any ip values that are greater than 1024-len(‘/etc/config-tools/config_interfaces interface=X1 state=enabled ip-address=‘) in length. A ip value of length 0x3da will cause the service to crash.
Weakness: CWE-787
Which versions are affected by CVE-2019-5180?
It affects 1 product.
Products include Wago Pfc200 Firmware.
How do I fix CVE-2019-5180?
No fix has been published for CVE-2019-5180 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-5180 being exploited?
There is no known exploitation of CVE-2019-5180 in the wild and no public exploit code.
Other vulnerabilities in WAGO PFC200
Sources
Also known as GHSA-q4q3-596j-p268.