Bug 1281326 - (CVE-2015-5330) CVE-2015-5330 samba, libldb: remote memory read in the Samba LDAP server
CVE-2015-5330 samba, libldb: remote memory read in the Samba LDAP server
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20151216,repor...
: Security
Depends On: 1290712 1290713 1290714 1290715 1290727 1291376 1292070
Blocks: 1281327
  Show dependency treegraph
 
Reported: 2015-11-12 05:11 EST by Adam Mariš
Modified: 2016-01-11 03:57 EST (History)
17 users (show)

See Also:
Fixed In Version: libldb 1.1.24, samba 4.1.22, samba 4.2.7, samba 4.3.3
Doc Type: Bug Fix
Doc Text:
A memory-read flaw was found in the way the libldb library processed LDB DN records with a null byte. An authenticated, remote attacker could use this flaw to read heap-memory pages from the server.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-01-08 07:18:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2015-11-12 05:11:10 EST
It was reported that when adding an LDB DN to the database, that if a \00 (null byte) is used, remote memory can be read due to a combination of talloc_strdup() and a length assignment.

Upstream bug:

https://bugzilla.samba.org/show_bug.cgi?id=11599
Comment 3 Huzaifa S. Sidhpurwala 2015-12-10 01:28:17 EST
Acknowledgements:

Red Hat would like to thank the Samba project for reporting this issue. Upstream acknowledges Douglas Bagnall as the original reporter.
Comment 7 Siddharth Sharma 2015-12-16 07:10:06 EST
Created libldb tracking bugs for this issue:

Affects: fedora-all [bug 1292070]
Comment 8 Huzaifa S. Sidhpurwala 2015-12-16 23:10:11 EST
External References:

https://www.samba.org/samba/security/CVE-2015-5330.html
Comment 10 Tomas Hoger 2015-12-17 10:18:30 EST
The non-ldb samba fixes were applied in upstream versions 4.1.22, 4.2.7, and 4.3.3.
Comment 11 errata-xmlrpc 2016-01-07 20:13:04 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6

Via RHSA-2016:0009 https://rhn.redhat.com/errata/RHSA-2016-0009.html
Comment 12 errata-xmlrpc 2016-01-07 20:40:08 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:0006 https://rhn.redhat.com/errata/RHSA-2016-0006.html
Comment 13 errata-xmlrpc 2016-01-08 04:13:52 EST
This issue has been addressed in the following products:

  Red Hat Gluster Storage 3.1 for RHEL 6
  Red Hat Gluster Storage 3.1 for RHEL 7

Via RHSA-2016:0014 https://rhn.redhat.com/errata/RHSA-2016-0014.html
Comment 14 errata-xmlrpc 2016-01-08 05:18:55 EST
This issue has been addressed in the following products:

  Red Hat Gluster Storage 3.1 for RHEL 7

Via RHSA-2016:0016 https://rhn.redhat.com/errata/RHSA-2016-0016.html
Comment 15 errata-xmlrpc 2016-01-08 05:19:33 EST
This issue has been addressed in the following products:

  Red Hat Gluster Storage 3.1 for RHEL 6

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

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