Skip to content

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....

HighCVSS 8.1 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/mosquitto(Debian:12) < 1.5.6-1 1.5.6-1
debian/mosquitto(Debian:13) < 1.5.6-1 1.5.6-1
debian/mosquitto(Debian:14) < 1.5.6-1 1.5.6-1
eclipse mosquitto >= 1.0, <= 1.5.5 No fix listed
alpine/mosquitto(Alpine:v3.10) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.11) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.12) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.13) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.14) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.15) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.16) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.17) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.18) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.19) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.20) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.21) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.22) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.23) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.24) >= 1.0, < 1.5.6-r0 1.5.6-r0
alpine/mosquitto(Alpine:v3.7) >= 1.0, < 1.4.15-r1 1.4.15-r1
alpine/mosquitto(Alpine:v3.8) >= 1.0, < 1.4.15-r4 1.4.15-r4
alpine/mosquitto(Alpine:v3.9) >= 1.0, < 1.5.6-r0 1.5.6-r0
The Eclipse Foundation Eclipse Mosquitto >= 1.0 No fix listed
The Eclipse Foundation Eclipse Mosquitto <= 1.5.5 No fix listed

References