VULNERABILITY INTELLIGENCE
CVE-2018-12551
CVSS score8.1 HIGH
EPSS probability1.47%
CISA KEVNot currently listed
Published2019-03-27
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- CWE-287: Improper Authentication
- CWE-703: Improper Check or Handling of Exceptional Conditions
Primary references
- emo@eclipse.org — Exploit, Issue Tracking, Vendor Advisory
- emo@eclipse.org
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108