Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1245279 - OpenLDAP doesn't use sane (or default) cipher order
OpenLDAP doesn't use sane (or default) cipher order
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openldap (Show other bugs)
7.1
Unspecified Unspecified
medium Severity high
: rc
: ---
Assigned To: Matus Honek
Hubert Kario
Bara Ancincova
:
Depends On:
Blocks: 1246125 1259988 1264318 1300701
  Show dependency treegraph
 
Reported: 2015-07-21 11:49 EDT by Hubert Kario
Modified: 2017-03-28 13:57 EDT (History)
12 users (show)

See Also:
Fixed In Version: openldap-2.4.40-8.el7
Doc Type: Release Note
Doc Text:
OpenLDAP automatically chooses the NSS default cipher suites OpenLDAP clients now automatically choose the Network Security Services (NSS) default cipher suites for communication with the server. It is no longer necessary to maintain the default cipher suites manually in the OpenLDAP source code.
Story Points: ---
Clone Of:
: 1300701 (view as bug list)
Environment:
Last Closed: 2015-11-19 03:53:45 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2131 normal SHIPPED_LIVE Moderate: openldap security, bug fix, and enhancement update 2015-11-19 04:10:21 EST

  None (edit)
Description Hubert Kario 2015-07-21 11:49:41 EDT
Description of problem:
LDAP clients (like ldapsearch) enable insecure ciphers as well as don't enable the most secure ones.

Version-Release number of selected component (if applicable):
openldap-2.4.39-6.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. tcpdump -i lo -U -w capture.pcap -s 0 port 22
2. ldapsearch -ZZ -H ldaps://localhost:22
3. open capture.pcap with wireshark, set the protocol type to SSL

Actual results:
Client Hello that advertises support for 42 ciphersuites, among them are export grade ciphers but no AES-GCM ciphers.

Expected results:
Client Hello that uses NSS default ciphers - no export grade, no single DES, but with AES-GCM ciphers

Additional info:
Comment 6 Elio Maldonado Batiz 2015-08-11 11:55:28 EDT
With the nss-3.19.1-9.e7 build these cipher suites are now enabled by default.
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   (0xc00a)
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   (0xc009)
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384  (0xc030)
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA     (0xc014)
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256  (0xc02f)
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA     (0xc013)
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384    (0x009f)
TLS_RSA_WITH_AES_256_GCM_SHA384        (0x009d)

Not yet enabled yet are
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0xc02c)
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0xc02b)
pending investigation of some test failures.
Comment 14 Matus Honek 2015-09-23 11:31:12 EDT
Commit adding new cipher suites to play along NSS default ciphers:
http://pkgs.devel.redhat.com/cgit/rpms/openldap/commit/?h=rhel-7.2&id=7359eb3d9356ca0c6aba14713814669d29270221

Commit adding checking for eNULL in DEFAULT handling:
http://pkgs.devel.redhat.com/cgit/rpms/openldap/commit/?h=rhel-7.2&id=57535c444bf7bef7574ef1614f14884d62520332
Comment 18 errata-xmlrpc 2015-11-19 03:53:45 EST
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/RHSA-2015-2131.html

Note You need to log in before you can comment on or make changes to this bug.