CVE-2018-12551

NameCVE-2018-12551
DescriptionWhen 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1972-1, DSA-4388-1
NVD severitymedium
Debian Bugs921976

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mosquitto (PTS)stretch (security), stretch1.4.10-3+deb9u4fixed
buster, buster (security)1.5.7-1+deb10u1fixed
bullseye, sid1.6.12-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mosquittosourcejessie1.3.4-2+deb8u4DLA-1972-1
mosquittosourcestretch1.4.10-3+deb9u3DSA-4388-1
mosquittosource(unstable)1.5.6-1921976

Notes

https://mosquitto.org/blog/2019/02/version-1-5-6-released/
https://mosquitto.org/files/cve/2018-12551

Search for package or bug name: Reporting problems