{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-5186","id":"CVE-2019-5186","title":"An exploitable stack buffer overflow vulnerability vulnerability exists in the iocheckd service \"I/O-Check\" functiona…","description":"An exploitable stack buffer overflow vulnerability vulnerability exists in the iocheckd service \"I/O-Check\" functionality of WAGO PFC 200. An attacker can send a specially crafted packet to trigger the parsing of this cache file.At 0x1eb9c the extracted interface element name from the xml file is used as an argument to /etc/config-tools/config_interfaces interface=<contents of interface element> u","descriptionLong":"An exploitable stack buffer overflow vulnerability vulnerability exists in the iocheckd service \"I/O-Check\" functionality of WAGO PFC 200. An attacker can send a specially crafted packet to trigger the parsing of this cache file.At 0x1eb9c the extracted interface element name from the xml file is used as an argument to /etc/config-tools/config_interfaces interface=<contents of interface element> using sprintf(). The destination buffer sp+0x40 is overflowed with the call to sprintf() for any interface values that are greater than 512-len(\"/etc/config-tools/config_interfaces interface=\") in length. Later, at 0x1ea08 strcpy() is used to copy the contents of the stack buffer that was overflowed sp+0x40 into sp+0x440. The buffer sp+0x440 is immediately adjacent to sp+0x40 on the stack. Therefore, there is no NULL termination on the buffer sp+0x40 since it overflowed into sp+0x440. The strcpy() will result in invalid memory access. An interface value of length 0x3c4 will cause the service to crash.","published":"2020-03-23T13:19:22.000Z","updated":"2026-06-17T02:37:16.890Z","reserved":"2019-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"talos","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Wago"],"affectedProducts":[{"vendor":"n/a","product":"Wago","defaultStatus":null,"versions":[{"status":"affected","version":"WAGO PFC200 Firmware version 03.02.02(14)"}],"platforms":[]}],"packages":[],"cwes":["CWE-120","CWE-787"],"aliases":[],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0966","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00846,"epssPercentile":0.5877,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-5186","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5186","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-5186","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-5186","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}