CVE-2018-12551
mediumpriority · track · 33EPSS 0.015 · 74 %ileEURUUSEPSS · scored 2026-10-26
When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any malformed data in the password file will be treated as valid. This typically means that the malformed data becomes a username and no password. If this occurs, clients can circumvent authentication and get access to the broker by using the malformed username. In particular, a blank line will be treated as a valid empty username. Other security measures are unaffected. Users who have only used the mosquitto_passwd utility to create and modify their password files are unaffected by this vulnerability.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- http://www.debian.org/security/2019/dsa-4388cnnvd
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401cnnvd
- https://mosquitto.org/blog/2019/02/version-1-5-6-released/Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2018-12551cnnvd
- https://vigilance.fr/vulnerability/Mosquitto-MQTT-three-vulnerabilities-28470cnnvd
- https://www.auscert.org.au/bulletins/75746cnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.3965/cnnvd
- https://www.debian.org/security/2019/dsa-cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan