ID

VAR-202003-0703


CVE

CVE-2019-5186


TITLE

WAGO PFC 200 Classic buffer overflow vulnerability in

Trust: 0.8

sources: JVNDB: JVNDB-2019-015202

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> 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. (DoS) It may be put into a state. WAGO PFC 200 is a programmable logic controller (PLC) from the German company WAGO

Trust: 2.34

sources: NVD: CVE-2019-5186 // JVNDB: JVNDB-2019-015202 // CNVD: CNVD-2020-16628 // IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19

IOT TAXONOMY

category:['ICS', 'Network device']sub_category: -

Trust: 0.6

category:['ICS']sub_category: -

Trust: 0.2

sources: IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19 // CNVD: CNVD-2020-16628

AFFECTED PRODUCTS

vendor:wagomodel:pfc200scope:eqversion:03.02.02\(14\)

Trust: 1.0

vendor:wagomodel:pfc200scope: - version: -

Trust: 0.8

vendor:wagomodel:pfcscope:eqversion:200

Trust: 0.6

vendor:pfc200model: - scope:eqversion:03.02.02(14)

Trust: 0.2

sources: IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19 // CNVD: CNVD-2020-16628 // JVNDB: JVNDB-2019-015202 // NVD: CVE-2019-5186

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2019-5186
value: HIGH

Trust: 1.0

NVD: JVNDB-2019-015202
value: HIGH

Trust: 0.8

CNVD: CNVD-2020-16628
value: HIGH

Trust: 0.6

CNNVD: CNNVD-202003-377
value: HIGH

Trust: 0.6

IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19
value: HIGH

Trust: 0.2

nvd@nist.gov: CVE-2019-5186
severity: MEDIUM
baseScore: 4.4
vectorString: AV:L/AC:M/AU:N/C:P/I:P/A:P
accessVector: LOCAL
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 3.4
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.0

NVD: JVNDB-2019-015202
severity: MEDIUM
baseScore: 4.4
vectorString: AV:L/AC:M/AU:N/C:P/I:P/A:P
accessVector: LOCAL
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: NONE
impactScore: NONE
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.8

CNVD: CNVD-2020-16628
severity: HIGH
baseScore: 7.5
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19
severity: HIGH
baseScore: 7.5
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.9 [IVD]

Trust: 0.2

nvd@nist.gov: CVE-2019-5186
baseSeverity: HIGH
baseScore: 7.0
vectorString: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: LOCAL
attackComplexity: HIGH
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 1.0
impactScore: 5.9
version: 3.1

Trust: 1.0

NVD: JVNDB-2019-015202
baseSeverity: HIGH
baseScore: 7.0
vectorString: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: LOCAL
attackComplexity: HIGH
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19 // CNVD: CNVD-2020-16628 // JVNDB: JVNDB-2019-015202 // CNNVD: CNNVD-202003-377 // NVD: CVE-2019-5186

PROBLEMTYPE DATA

problemtype:CWE-120

Trust: 1.8

problemtype:CWE-787

Trust: 1.0

sources: JVNDB: JVNDB-2019-015202 // NVD: CVE-2019-5186

THREAT TYPE

local

Trust: 0.6

sources: CNNVD: CNNVD-202003-377

TYPE

Buffer error

Trust: 0.8

sources: IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19 // CNNVD: CNNVD-202003-377

CONFIGURATIONS

sources: JVNDB: JVNDB-2019-015202

PATCH

title:Top Pageurl:https://www.wago.com/us/https://www.wago.com/us/

Trust: 0.8

sources: JVNDB: JVNDB-2019-015202

EXTERNAL IDS

db:NVDid:CVE-2019-5186

Trust: 3.2

db:TALOSid:TALOS-2019-0966

Trust: 3.0

db:CNVDid:CNVD-2020-16628

Trust: 0.8

db:CNNVDid:CNNVD-202003-377

Trust: 0.8

db:JVNDBid:JVNDB-2019-015202

Trust: 0.8

db:IVDid:742FCDB8-852C-4B1E-A56F-3A4A89CF4C19

Trust: 0.2

sources: IVD: 742fcdb8-852c-4b1e-a56f-3a4a89cf4c19 // CNVD: CNVD-2020-16628 // JVNDB: JVNDB-2019-015202 // CNNVD: CNNVD-202003-377 // NVD: CVE-2019-5186

REFERENCES

url:https://talosintelligence.com/vulnerability_reports/talos-2019-0966

Trust: 3.0

url:https://nvd.nist.gov/vuln/detail/cve-2019-5186

Trust: 1.4

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2019-5186

Trust: 0.8

sources: CNVD: CNVD-2020-16628 // JVNDB: JVNDB-2019-015202 // CNNVD: CNNVD-202003-377 // NVD: CVE-2019-5186

SOURCES

db:IVDid:742fcdb8-852c-4b1e-a56f-3a4a89cf4c19
db:CNVDid:CNVD-2020-16628
db:JVNDBid:JVNDB-2019-015202
db:CNNVDid:CNNVD-202003-377
db:NVDid:CVE-2019-5186

LAST UPDATE DATE

2024-11-23T22:37:31.212000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2020-16628date:2020-03-10T00:00:00
db:JVNDBid:JVNDB-2019-015202date:2020-04-15T00:00:00
db:CNNVDid:CNNVD-202003-377date:2020-03-27T00:00:00
db:NVDid:CVE-2019-5186date:2024-11-21T04:44:30.847

SOURCES RELEASE DATE

db:IVDid:742fcdb8-852c-4b1e-a56f-3a4a89cf4c19date:2020-03-09T00:00:00
db:CNVDid:CNVD-2020-16628date:2020-03-10T00:00:00
db:JVNDBid:JVNDB-2019-015202date:2020-04-15T00:00:00
db:CNNVDid:CNNVD-202003-377date:2020-03-09T00:00:00
db:NVDid:CVE-2019-5186date:2020-03-23T14:15:13.487