OpenLDAP 2.4.40 servers/slapd/filter.c get_vrFilter double free

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 labeled as problematic has been found in OpenLDAP 2.4.40. Impacted is the function get_vrFilter of the file servers/slapd/filter.c. Executing a manipulation can lead to double free. The identification of this vulnerability is CVE-2015-1546. There is no exploit available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability classified as problematic was found in OpenLDAP 2.4.40 (Directory Service Software). This vulnerability affects the function get_vrFilter of the file servers/slapd/filter.c. The manipulation with an unknown input leads to a double free vulnerability. The CWE definition for the vulnerability is CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. As an impact it is known to affect availability. CVE summarizes:

Double free vulnerability in the get_vrFilter function in servers/slapd/filter.c in OpenLDAP 2.4.40 allows remote attackers to cause a denial of service (crash) via a crafted search query with a matched values control.

The weakness was shared 02/05/2015 (oss-sec). The advisory is shared for download at openwall.com. This vulnerability was named CVE-2015-1546 since 02/07/2015. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. Responsible for the vulnerability is the following code:

ValuesReturnFilter  *p, *next;
 
if ( vrf == NULL ) {
    return;
}

for ( p = vrf; p != NULL; p = next ) {
   next = p->vrf_next;

The vulnerability scanner Nessus provides a plugin with the ID 82699 (Mac OS X 10.10.x < 10.10.3 Multiple Vulnerabilities (FREAK)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context c. 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 3 months after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

ValuesReturnFilter  *next;
 
for ( ; vrf != NULL; vrf = next ) {
   next = vrf->vrf_next;

The vulnerability is also documented in the databases at X-Force (100938), Tenable (82699), SecurityFocus (BID 58128†) and Secunia (SA62787†). Additional details are provided at bugs.debian.org. The entries VDB-69183, VDB-63626, VDB-74699 and VDB-74700 are related to this item. Once again VulDB remains the best 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: Double free
CWE: CWE-415 / CWE-119
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: 82699
Nessus Name: Mac OS X 10.10.x < 10.10.3 Multiple Vulnerabilities (FREAK)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

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

Patch: 2f1a2dd329b91afe561cd06b872d09630d4edb6a

Timelineinfo

02/05/2015 🔍
02/06/2015 +1 days 🔍
02/07/2015 +1 days 🔍
02/11/2015 +4 days 🔍
02/18/2015 +6 days 🔍
04/09/2015 +49 days 🔍
04/10/2015 +1 days 🔍
03/10/2022 +2526 days 🔍

Sourcesinfo

Advisory: openwall.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-1546 (🔍)
GCVE (CVE): GCVE-0-2015-1546
GCVE (VulDB): GCVE-100-69184

OVAL: 🔍

X-Force: 100938 - OpenLDAP get_vrFilter denial of service, Medium Risk
SecurityFocus: 58128
Secunia: 62787 - OpenLDAP slapd Two Denial of Service Vulnerabilities, Less Critical

Misc.: 🔍
See also: 🔍

Entryinfo

Created: 02/18/2015 09:39
Updated: 03/10/2022 14:10
Changes: 02/18/2015 09:39 (66), 09/24/2018 08:58 (10), 03/10/2022 14:10 (3)
Complete: 🔍
Cache ID: 216:E75:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!