OpenLDAP Authentication Bypass Vulnerability in Versions Prior to 2.4.25-1

openldap Updated 02 Oct 2025

Summary

20/03/2011
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2011-1024: chain.c in back-ldap in OpenLDAP 2.4.x before 2.4.24, when a master-slave configuration with a chain overlay and ppolicy_forward_updates (aka authentication-failure forwarding) is used, allows remote authenticated users... Affects openldap versions < 2.4.25-1. Fixed in 2.4.25-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP), which is used for accessing and maintaining distributed directory information services. It is widely utilized in various applications for user authentication and directory services. The vulnerability in question affects OpenLDAP versions 2.4.x prior to 2.4.25-1, specifically in configurations using a master-slave setup with a chain overlay and ppolicy_forward_updates.

Vulnerability Detail

The vulnerability arises from a flaw in the chain.c file within the back-ldap component of OpenLDAP. When configured with a chain overlay and ppolicy_forward_updates, remote authenticated users can exploit this flaw to bypass external-program authentication by sending an invalid password to a slave server. This could lead to unauthorized access and potential data breaches, as the authentication mechanism can be circumvented.

How To Fix

Minimum fixed version

2.4.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade openldap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider disabling the chain overlay or the ppolicy_forward_updates feature until the package can be updated to the patched version. This can be done by modifying the OpenLDAP configuration files to remove or comment out the relevant directives.

Conclusion

The OpenLDAP vulnerability identified as CVE-2011-1024 poses a significant risk by allowing authenticated users to bypass authentication. It is crucial to update to version 2.4.25-1 or later to mitigate this risk. Temporary workarounds can be employed until the update is feasible.

See every vulnerability recorded for openldap →

Share this vulnerability

FAQ

The vulnerability allows remote authenticated users to bypass authentication mechanisms, potentially leading to unauthorized access to sensitive data.

You can check your OpenLDAP version by running 'ldapsearch -VV' in the terminal. If your version is below 2.4.25-1, it is affected.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application for vulnerabilities in real-time without any installation.

If immediate updating is not possible, consider disabling the vulnerable features as a temporary measure until you can apply the necessary updates.

Detailed information about this vulnerability can be found in the Debian CVE database and other security advisories related to OpenLDAP.

Related vulnerabilities

Recent vulnerabilities recorded for openldap.

How To Fix

Minimum fixed version

2.4.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade openldap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback