{"schemaVersion":3,"id":"CVE-2019-5185","aliases":[],"status":"published","duplicateOf":null,"title":null,"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 0x1ea28 the extracted state value from the xml file is used as an argument to /etc/config-tools/config_interfaces interface=X1 state=<contents of state node> using sprintf(). The destination buffer sp+0x40 is overflowed with the call to sprintf() for any state values that are greater than 512-len(\"/etc/config-tools/config_interfaces interface=X1 state=\") 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 state value of length 0x3c9 will cause the service to crash.","dates":{"published":"2020-03-23T13:22:52.000Z","modified":"2024-08-04T19:47:56.813Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.4,"severity":"medium","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00846,"percentile":0.57389,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00846},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00846,"percentile":0.57389}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00846,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00846,"percentile":0.57389}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_C845036AA6617075","name":"Exploit Reference (talosintelligence.com)","source":"reference","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0966","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"wago","product":"pfc200_firmware","name":"pfc200 firmware","label":"pfc200_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"03.02.02\\(14\\)","noFixRecorded":false,"fixedIn":null}],"versionsText":"03.02.02\\(14\\)","eol":null,"hubHref":"/vendor/wago/pfc200"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0966","label":"talosintelligence.com/vulnerability_reports/TALOS-2019-0966","hostname":"talosintelligence.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-03-23T13:22:52.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T19:47:56.813Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:04:24.458Z","stale":false,"partial":false}}