Bug 1161172

Summary: cups can't disable SSLv3
Product: Red Hat Enterprise Linux 7 Reporter: Eric Rich <erich>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact: Robert Krátký <rkratky>
Priority: high    
Version: 7.0CC: bmason, jscotka, psklenar, qe-baseos-daemons, twaugh
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cups-1.6.3-19.el7 Doc Type: Bug Fix
Doc Text:
CUPS now disables SSLv3 encryption by default Previously, it was not possible to disable SSLv3 encryption in the CUPS scheduler, which left it vulnerable to attacks against SSLv3. To solve this issue, the *cupsd.conf* `SSLOptions` keyword has been extended to include two new options, `AllowRC4` and `AllowSSL3`, each of which enables the named feature in *cupsd*. The new options are also supported in the */etc/cups/client.conf* file. The default is now to disable both RC4 and SSL3 for *cupsd*.
Story Points: ---
Clone Of: 1161171 Environment:
Last Closed: 2015-11-19 12:10:05 UTC Type: Bug
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: 1161171, 1161218    
Bug Blocks: 1110700, 1133060, 1191021, 1205796    
Attachments:
Description Flags
cups-str4476.patch (RHEL-7)
none
cups-str4476.patch (RHEL-7) none

Description Eric Rich 2014-11-06 15:01:31 UTC
+++ This bug was initially created as a clone of Bug #1161171 +++

Description of problem:

Cups can't disable SSLv3, so stunnel is the only workarround, per https://access.redhat.com/site/solutions/1234843

Please backport, the Upstream Fix: http://www.cups.org/str.php?L4476

Comment 2 Tim Waugh 2014-11-07 16:37:36 UTC
Created attachment 955007 [details]
cups-str4476.patch (RHEL-7)

Here's the patch I plan to use.

It's a more or less straightforward back-port.

It augments the cupsd.conf "SSLOptions" keyword to include two new options, AllowRC4 and AllowSSL3, each of which enables the named feature in cupsd. The default is now to disable both RC4 and SSL3 for cupsd.

It also introduces the new /etc/cups/client.conf "SSLOptions" keyword, with options AllowRC4 and AllowSSL3. In order to enforce this correctly, the system-wide /etc/cups/client.conf file is read first, and the user ~/.cups/client.conf file (in which "SSLOptions" is not valid) is read afterwards. The default is now for clients to use neither RC4 nor SSL3.

Comment 5 Tim Waugh 2015-01-13 10:58:10 UTC
Created attachment 979561 [details]
cups-str4476.patch (RHEL-7)

Improved patch.

Comment 9 errata-xmlrpc 2015-11-19 12:10:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2386.html