Bug 1456507 (CVE-2017-7650)

Summary: CVE-2017-7650 mosquitto: Pattern based ACLs can be bypassed
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: linville, mail, richmattes
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mosquitto 1.4.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-05 10:19:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1456508, 1456509    
Bug Blocks:    

Description Andrej Nemec 2017-05-29 13:42:11 UTC
A vulnerability exists in Mosquitto versions 0.15 to 1.4.11.

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.

The vulnerability only comes into effect where pattern based ACLs are in use, or potentially where third party plugins are in use.

External References:

http://mosquitto.org/2017/05/security-advisory-cve-2017-7650/

Comment 1 Andrej Nemec 2017-05-29 13:42:40 UTC
Created mosquitto tracking bugs for this issue:

Affects: epel-7 [bug 1456509]
Affects: fedora-all [bug 1456508]