ID

VAR-202003-0702


CVE

CVE-2019-5185


TITLE

WAGO PFC 200 Classic buffer overflow vulnerability in

Trust: 0.8

sources: JVNDB: JVNDB-2019-015201

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. (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-5185 // JVNDB: JVNDB-2019-015201 // CNVD: CNVD-2020-16629 // IVD: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3

IOT TAXONOMY

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

Trust: 0.6

category:['ICS']sub_category: -

Trust: 0.2

sources: IVD: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3 // CNVD: CNVD-2020-16629

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: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3 // CNVD: CNVD-2020-16629 // JVNDB: JVNDB-2019-015201 // NVD: CVE-2019-5185

CVSS

SEVERITY

CVSSV2

CVSSV3

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

Trust: 1.0

NVD: JVNDB-2019-015201
value: HIGH

Trust: 0.8

CNVD: CNVD-2020-16629
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-202003-380
value: HIGH

Trust: 0.6

IVD: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3
value: HIGH

Trust: 0.2

nvd@nist.gov: CVE-2019-5185
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-015201
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-16629
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

IVD: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.9 [IVD]

Trust: 0.2

nvd@nist.gov: CVE-2019-5185
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-015201
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: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3 // CNVD: CNVD-2020-16629 // JVNDB: JVNDB-2019-015201 // CNNVD: CNNVD-202003-380 // NVD: CVE-2019-5185

PROBLEMTYPE DATA

problemtype:CWE-787

Trust: 1.0

problemtype:CWE-120

Trust: 0.8

sources: JVNDB: JVNDB-2019-015201 // NVD: CVE-2019-5185

THREAT TYPE

local

Trust: 0.6

sources: CNNVD: CNNVD-202003-380

TYPE

Buffer error

Trust: 0.8

sources: IVD: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3 // CNNVD: CNNVD-202003-380

CONFIGURATIONS

sources: JVNDB: JVNDB-2019-015201

PATCH

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

Trust: 0.8

sources: JVNDB: JVNDB-2019-015201

EXTERNAL IDS

db:NVDid:CVE-2019-5185

Trust: 3.2

db:TALOSid:TALOS-2019-0966

Trust: 3.0

db:CNVDid:CNVD-2020-16629

Trust: 0.8

db:CNNVDid:CNNVD-202003-380

Trust: 0.8

db:JVNDBid:JVNDB-2019-015201

Trust: 0.8

db:IVDid:95A5A5B2-E3A6-42CF-88BA-0C970444C3D3

Trust: 0.2

sources: IVD: 95a5a5b2-e3a6-42cf-88ba-0c970444c3d3 // CNVD: CNVD-2020-16629 // JVNDB: JVNDB-2019-015201 // CNNVD: CNNVD-202003-380 // NVD: CVE-2019-5185

REFERENCES

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

Trust: 3.0

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

Trust: 1.4

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

Trust: 0.8

sources: CNVD: CNVD-2020-16629 // JVNDB: JVNDB-2019-015201 // CNNVD: CNNVD-202003-380 // NVD: CVE-2019-5185

SOURCES

db:IVDid:95a5a5b2-e3a6-42cf-88ba-0c970444c3d3
db:CNVDid:CNVD-2020-16629
db:JVNDBid:JVNDB-2019-015201
db:CNNVDid:CNNVD-202003-380
db:NVDid:CVE-2019-5185

LAST UPDATE DATE

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


SOURCES UPDATE DATE

db:CNVDid:CNVD-2020-16629date:2020-03-10T00:00:00
db:JVNDBid:JVNDB-2019-015201date:2020-04-15T00:00:00
db:CNNVDid:CNNVD-202003-380date:2020-03-27T00:00:00
db:NVDid:CVE-2019-5185date:2024-11-21T04:44:30.733

SOURCES RELEASE DATE

db:IVDid:95a5a5b2-e3a6-42cf-88ba-0c970444c3d3date:2020-03-09T00:00:00
db:CNVDid:CNVD-2020-16629date:2020-03-10T00:00:00
db:JVNDBid:JVNDB-2019-015201date:2020-04-15T00:00:00
db:CNNVDid:CNNVD-202003-380date:2020-03-09T00:00:00
db:NVDid:CVE-2019-5185date:2020-03-23T14:15:13.283