ID

VAR-201811-0516


CVE

CVE-2018-19417


TITLE

Contiki-NG Buffer error vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2018-014267

DESCRIPTION

An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function parse_publish_vhdr() that parses MQTT PUBLISH messages with a variable length header uses memcpy to input data into a fixed size buffer. The allocated buffer can fit only MQTT_MAX_TOPIC_LENGTH (default 64) bytes, and a length check is missing. This could lead to Remote Code Execution via a stack-smashing attack (overwriting the function return address). Contiki-NG does not separate the MQTT server from other servers and the OS modules, so access to all memory regions is possible. Contiki-NG Contains a buffer error vulnerability.Information is obtained, information is altered, and service operation is disrupted (DoS) There is a possibility of being put into a state. Contiki-NG is an open source cross-platform operating system for the next generation of IoT devices. MQTT Server is one of the message queue transfer servers. Contiki-NG MQTT servers prior to 4.2 have a stack-based buffer overflow vulnerability. An attacker could use this vulnerability to execute code

Trust: 2.79

sources: NVD: CVE-2018-19417 // JVNDB: JVNDB-2018-014267 // CNVD: CNVD-2019-00328 // CNNVD: CNNVD-201811-631 // VULMON: CVE-2018-19417

IOT TAXONOMY

category:['IoT']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2019-00328

AFFECTED PRODUCTS

vendor:contiki ngmodel:contiki-ngscope:ltversion:4.2

Trust: 2.4

sources: CNVD: CNVD-2019-00328 // JVNDB: JVNDB-2018-014267 // NVD: CVE-2018-19417

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2018-19417
value: CRITICAL

Trust: 1.0

NVD: CVE-2018-19417
value: CRITICAL

Trust: 0.8

CNVD: CNVD-2019-00328
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201811-631
value: CRITICAL

Trust: 0.6

VULMON: CVE-2018-19417
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2018-19417
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.9

CNVD: CNVD-2019-00328
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

nvd@nist.gov: CVE-2018-19417
baseSeverity: CRITICAL
baseScore: 10.0
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: CHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 3.9
impactScore: 6.0
version: 3.0

Trust: 1.8

sources: CNVD: CNVD-2019-00328 // VULMON: CVE-2018-19417 // JVNDB: JVNDB-2018-014267 // CNNVD: CNNVD-201811-631 // NVD: CVE-2018-19417

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.8

sources: JVNDB: JVNDB-2018-014267 // NVD: CVE-2018-19417

TYPE

buffer error

Trust: 0.6

sources: CNNVD: CNNVD-201811-631

CONFIGURATIONS

sources: JVNDB: JVNDB-2018-014267

PATCH

title:Stack based buffer overflow while parsing MQTT messages (parsing PUBLISH message with variable length header) #600url:https://github.com/contiki-ng/contiki-ng/issues/600

Trust: 0.8

title:Patch for Contiki-NG Buffer Overflow Vulnerability (CNVD-2019-00328)url:https://www.cnvd.org.cn/patchInfo/show/149187

Trust: 0.6

title:Contiki-NG MQTT Server Buffer Error Vulnerability Fixurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=86963

Trust: 0.6

sources: CNVD: CNVD-2019-00328 // JVNDB: JVNDB-2018-014267 // CNNVD: CNNVD-201811-631

EXTERNAL IDS

db:NVDid:CVE-2018-19417

Trust: 3.1

db:JVNDBid:JVNDB-2018-014267

Trust: 0.8

db:CNVDid:CNVD-2019-00328

Trust: 0.6

db:CNNVDid:CNNVD-201811-631

Trust: 0.6

db:VULMONid:CVE-2018-19417

Trust: 0.1

sources: CNVD: CNVD-2019-00328 // VULMON: CVE-2018-19417 // JVNDB: JVNDB-2018-014267 // CNNVD: CNNVD-201811-631 // NVD: CVE-2018-19417

REFERENCES

url:https://github.com/contiki-ng/contiki-ng/issues/600

Trust: 1.7

url:https://nvd.nist.gov/vuln/detail/cve-2018-19417

Trust: 1.4

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2018-19417

Trust: 0.8

url:https://cwe.mitre.org/data/definitions/119.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

sources: CNVD: CNVD-2019-00328 // VULMON: CVE-2018-19417 // JVNDB: JVNDB-2018-014267 // CNNVD: CNNVD-201811-631 // NVD: CVE-2018-19417

SOURCES

db:CNVDid:CNVD-2019-00328
db:VULMONid:CVE-2018-19417
db:JVNDBid:JVNDB-2018-014267
db:CNNVDid:CNNVD-201811-631
db:NVDid:CVE-2018-19417

LAST UPDATE DATE

2024-11-23T22:45:09.052000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2019-00328date:2019-01-04T00:00:00
db:VULMONid:CVE-2018-19417date:2019-02-04T00:00:00
db:JVNDBid:JVNDB-2018-014267date:2019-03-15T00:00:00
db:CNNVDid:CNNVD-201811-631date:2019-02-13T00:00:00
db:NVDid:CVE-2018-19417date:2024-11-21T03:57:53.160

SOURCES RELEASE DATE

db:CNVDid:CNVD-2019-00328date:2019-01-04T00:00:00
db:VULMONid:CVE-2018-19417date:2018-11-21T00:00:00
db:JVNDBid:JVNDB-2018-014267date:2019-03-15T00:00:00
db:CNNVDid:CNNVD-201811-631date:2018-11-22T00:00:00
db:NVDid:CVE-2018-19417date:2018-11-21T20:29:00.307