OpenLDAP up to 2.4.40 deref.c deref_parseCtrl null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.6 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in OpenLDAP. This issue affects the function deref_parseCtrl of the file servers/slapd/overlays/deref.c. Performing a manipulation results in null pointer dereference.
This vulnerability was named CVE-2015-1545. There is no available exploit.
It is recommended to apply a patch to fix this issue.
Details
A vulnerability classified as problematic has been found in OpenLDAP (Directory Service Software). This affects the function deref_parseCtrl of the file servers/slapd/overlays/deref.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability. The summary by CVE is:
The deref_parseCtrl function in servers/slapd/overlays/deref.c in OpenLDAP 2.4.13 through 2.4.40 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via an empty attribute list in a deref control in a search request.
The weakness was presented 02/05/2015 by Ryan Tandy (oss-sec). It is possible to read the advisory at openwall.com. This vulnerability is uniquely identified as CVE-2015-1545 since 02/07/2015. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The reason for this vulnerability is this part of code:
if ( ber_scanf( ber, "{m{M}}", &derefAttr, &attributes, &cnt, off ) == LBER_ERROR )The vulnerability scanner Nessus provides a plugin with the ID 84261 (SUSE SLED12 / SLES12 Security Update : openldap2 (SUSE-SU-2015:1077-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 167924 (SUSE Enterprise Linux Security update for openldap2 (SUSE-SU-2015:1077-1)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at openldap.org. A possible mitigation has been published 4 months after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
if ( ber_scanf( ber, "{m{M}}", &derefAttr, &attributes, &cnt, off ) == LBER_ERROR
|| !cnt )The vulnerability is also documented in the databases at X-Force (100937), Tenable (84261), SecurityFocus (BID 72519†) and Secunia (SA62787†). Further details are available at bugs.debian.org. See VDB-69184, VDB-74741 and VDB-74742 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
- 2.4.13
- 2.4.14
- 2.4.15
- 2.4.16
- 2.4.17
- 2.4.18
- 2.4.19
- 2.4.20
- 2.4.21
- 2.4.22
- 2.4.23
- 2.4.24
- 2.4.25
- 2.4.26
- 2.4.27
- 2.4.28
- 2.4.29
- 2.4.30
- 2.4.31
- 2.4.32
- 2.4.33
- 2.4.34
- 2.4.35
- 2.4.36
- 2.4.37
- 2.4.38
- 2.4.39
- 2.4.40
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.6
VulDB Base Score: 5.3
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 84261
Nessus Name: SUSE SLED12 / SLES12 Security Update : openldap2 (SUSE-SU-2015:1077-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for openldap FEDORA-2015-2055
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: c32e74763f77675b9e144126e375977ed6dc562c
Timeline
02/05/2015 🔍02/05/2015 🔍
02/07/2015 🔍
02/11/2015 🔍
02/18/2015 🔍
05/18/2015 🔍
06/18/2015 🔍
03/10/2022 🔍
Sources
Advisory: openwall.comResearcher: Ryan Tandy
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2015-1545 (🔍)
GCVE (CVE): GCVE-0-2015-1545
GCVE (VulDB): GCVE-100-69183
OVAL: 🔍
X-Force: 100937 - OpenLDAP deref_parseCtrl denial of service, Medium Risk
SecurityFocus: 72519 - OpenLDAP slapd Multiple Denial of Service Vulnerabilities
Secunia: 62787
SecurityTracker: 1032399
Misc.: 🔍
See also: 🔍
Entry
Created: 02/18/2015 09:38Updated: 03/10/2022 14:08
Changes: 02/18/2015 09:38 (72), 09/24/2018 08:58 (10), 03/10/2022 14:08 (4)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.