Auth bypass in Eclipse Mosquitto
CVE-2018-12551
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.015, 74.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Eclipse Mosquitto
- The Eclipse Foundation Mosquitto — versions 1.0, unspecified
Weakness classification (CWE)
References
- bugs.eclipse.org/bugs/show_bug.cgi (Exploit, Issue Tracking, Vendor Advisory)
- [debian-lts-announce] 20191026 [SECURITY] [DLA 1972-1] mosquitto security update (mailing-list)