CVEvulnerability

CVE-2018-12551

8.1 HIGH Published 2019-03-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-03-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
8.1 HIGH — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-287, CWE-703

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 configurations

• eclipse mosquitto (>= 1.0 <= 1.5.5)

Related

Weakness · CWE (2)

  • CWE-287 Improper Authentication weakness
  • CWE-703 Improper Check or Handling of Exceptional Conditions weakness

References