Improper Authentication Affecting mosquitto package, versions >=1.0.0, <1.5.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-COCOAPODS-MOSQUITTO-470675
  • published13 Nov 2019
  • disclosed31 Jan 2019
  • creditUnknown

Introduced: 31 Jan 2019

CVE-2018-12551  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade Mosquitto to version 1.5.6 or higher.

Overview

Mosquitto is an open source implementation of a server for version 3.1 and 3.1.1 of the MQTT protocol.

Affected versions of this package are vulnerable to Improper Authentication. Clients are granted access to the broker because it incorrectly validated empty lines or malformed data in the password file, treating such data as a valid username and allowing an attacker to bypass authentication. This vulnerability does not affect the users using the mosquitto_passwd utility to create and modify their password files.

CVSS Scores

version 3.1