CVE-2018-19417
Last modified
CVE-2018-19417 is a vulnerability of currently unknown severity. 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. EPSS estimates a 5.69% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Contiki-Ng | Contiki-Ng | < 4.2 |
References
- https://github.com/contiki-ng/contiki-ng/issues/600Exploit, Third Party Advisory
- https://github.com/contiki-ng/contiki-ng/issues/600Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-19417?
How severe is CVE-2018-19417?
How do I fix CVE-2018-19417?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-19410PRTG Network Monitor before 18.2.40.1683 allows remote unaut…9.8
- CVE-2018-19411PRTG Network Monitor before 18.2.40.1683 allows an authentic…
- CVE-2018-19413A vulnerability in the API of SonarSource SonarQube before 7…
- CVE-2018-19414Multiple cross-site scripting (XSS) vulnerabilities in Plikl…
- CVE-2018-19415Multiple SQL injection vulnerabilities in Plikli CMS 4.0.0 a…
- CVE-2018-19416An issue was discovered in sysstat 12.1.1. The remap_struct …
- CVE-2018-19418Foxit PDF ActiveX before 5.5.1 allows remote code execution …7.8
- CVE-2018-19420In GetSimpleCMS 3.3.15, admin/upload.php blocks .html upload…
- CVE-2018-19421In GetSimpleCMS 3.3.15, admin/upload.php blocks .html upload…
- CVE-2018-19422/panel/uploads in Subrion CMS 4.2.1 allows remote attackers …7.2
- CVE-2018-19423Codiad 2.8.4 allows remote authenticated administrators to e…7.2
- CVE-2018-19424ClipperCMS 1.3.3 allows remote authenticated administrators …
Are you affected by CVE-2018-19417?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
