Bug 1319052 (CVE-2016-3099)

Summary: CVE-2016-3099 mod_nss: Invalid handling of +CIPHER operator
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alee, cfu, dpal, huzaifas, jmagne, mharmsen, nkinder, rcritten, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A flaw was found in the way mod_nss parsed certain OpenSSL-style cipher strings. As a result, mod_nss could potentially use ciphers that were not intended to be enabled.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:49:52 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: 1323913, 1323914    
Bug Blocks: 1319056, 1323912    

Description Adam Mariš 2016-03-18 14:30:28 UTC
It was reported that +CIPHER operator in OpenSSL changes the order of a cipher. Since cipher ordering isn't supported in NSS, the mod_nss code was supposed to return an error. Instead it returned the result of processing up to that point. Default OpenSSL cipher string:

!SSLv2:kEECDH:kRSA:kEDH:kPSK:+3DES:!aNULL:!eNULL:!MD5:!EXP:!RC4:!SEED:!IDEA:!DES

Would not properly exclude anything because only the first 5 elements would be examined.

Comment 1 Adam Mariš 2016-03-18 14:30:35 UTC
Acknowledgments:

Name: Rob Crittenden (Red Hat)

Comment 4 Huzaifa S. Sidhpurwala 2016-04-05 04:49:23 UTC
Created mod_nss tracking bugs for this issue:

Affects: fedora-all [bug 1323914]

Comment 5 errata-xmlrpc 2016-11-03 21:20:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2602 https://rhn.redhat.com/errata/RHSA-2016-2602.html