OpenLDAP up to 2.4.40 deref.c deref_parseCtrl null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.6$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.6

VulDB Base Score: 5.3
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: c32e74763f77675b9e144126e375977ed6dc562c

Timelineinfo

02/05/2015 🔍
02/05/2015 +0 days 🔍
02/07/2015 +2 days 🔍
02/11/2015 +4 days 🔍
02/18/2015 +6 days 🔍
05/18/2015 +88 days 🔍
06/18/2015 +31 days 🔍
03/10/2022 +2457 days 🔍

Sourcesinfo

Advisory: openwall.com
Researcher: 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: 🔍

Entryinfo

Created: 02/18/2015 09:38
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!