Bug 1696312 (CVE-2018-12551)

Summary: CVE-2018-12551 mosquitto: improper authentication in password file
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-09 16:07:38 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: 1696315, 1696317    
Bug Blocks:    

Description Dhananjay Arunesh 2019-04-04 14:08:37 UTC
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.

Reference:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401

Comment 1 Dhananjay Arunesh 2019-04-04 14:19:11 UTC
Created mosquitto tracking bugs for this issue:

Affects: fedora-29 [bug 1696315]

Comment 2 Dhananjay Arunesh 2019-04-04 14:19:39 UTC
Created mosquitto tracking bugs for this issue:

Affects: epel-7 [bug 1696317]