OpenLDAP 2.4.40 servers/slapd/filter.c get_vrFilter double free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.6 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
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: Double freeCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: 2f1a2dd329b91afe561cd06b872d09630d4edb6a
Timeline
02/05/2015 🔍02/06/2015 🔍
02/07/2015 🔍
02/11/2015 🔍
02/18/2015 🔍
04/09/2015 🔍
04/10/2015 🔍
03/10/2022 🔍
Sources
Advisory: openwall.comStatus: 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: 🔍
Entry
Created: 02/18/2015 09:39Updated: 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
No comments yet. Languages: en.
Please log in to comment.