CVE-2015-5330: Infoleak
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 tallocstrdup() and a length assignment.
Upstream bug:
https://bugzilla.samba.org/showbug.cgi?id=11599
Other sources
ldb before 1.1.24, as used in the AD LDAP server in Samba 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, mishandles string lengths, which allows remote attackers to obtain sensitive information from daemon heap memory by sending crafted packets and then reading (1) an error message or (2) a database value.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-5330?
CVE-2015-5330 has a high severity due to its potential to allow remote memory reading, impacting application security.
How do I fix CVE-2015-5330?
To fix CVE-2015-5330, upgrade to libldb version 1.1.24 or samba versions 4.1.22, 4.2.7, or 4.3.3 or later.
What systems are affected by CVE-2015-5330?
CVE-2015-5330 affects various versions of samba and libldb, particularly those prior to the stipulated fixed versions.
Can CVE-2015-5330 be exploited remotely?
Yes, CVE-2015-5330 can be exploited remotely, resulting in unauthorized memory access.
Is it safe to use software versions that are vulnerable to CVE-2015-5330?
No, using vulnerable versions can pose significant security risks and should be avoided until patched.