Access Restriction Bypass Affecting mosquitto package, versions [,1.4.12)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
9.17% (95th 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 IDSNYK-UNMANAGED-MOSQUITTO-2368764
  • published26 Jan 2022
  • disclosed11 Sept 2017
  • creditUnknown

Introduced: 11 Sep 2017

CVE-2017-7650  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade mosquitto to version 1.4.12 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. In Mosquitto before 1.4.12, pattern based ACLs can be bypassed by clients that set their username/client id to '#' or '+'. This allows locally or remotely connected clients to access MQTT topics that they do have the rights to. The same issue may be present in third party authentication/access control plugins for Mosquitto.

References

CVSS Scores

version 3.1