Unauthorized LDAP Access in phpldapadmin: CVE-2005-2654

phpldapadmin Updated 02 Oct 2025

Summary

30/08/2005
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2005-2654: phpldapadmin before 0.9.6c allows remote attackers to gain anonymous access to the LDAP server, even when disable_anon_bind is set, via an HTTP request to login.php with the anonymous_bind parameter set. Affects phpldapadmin versions < 0.9.6c-5. Fixed in 0.9.6c-5. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phpldapadmin is a web-based LDAP client that allows users to manage LDAP directories through a user-friendly interface. It is widely used for administering LDAP servers and provides features such as user management, group management, and schema editing. However, prior to version 0.9.6c, phpldapadmin had a vulnerability that allowed remote attackers to bypass authentication mechanisms, leading to unauthorized access to LDAP servers.

Vulnerability Detail

The vulnerability identified as CVE-2005-2654 affects phpldapadmin versions before 0.9.6c. It allows remote attackers to gain anonymous access to the LDAP server, even when the 'disable_anon_bind' setting is enabled. This is achieved through an HTTP request to the login.php script with the 'anonymous_bind' parameter set, which can lead to unauthorized data exposure and manipulation of the LDAP directory.

How To Fix

Minimum fixed version

0.9.6c-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpldapadmin

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

Workaround

As a temporary workaround, you can disable anonymous binds in your LDAP server configuration. Ensure that the 'disable_anon_bind' option is set to true in your LDAP server settings to prevent unauthorized access until the package can be updated.

Conclusion

CVE-2005-2654 is a significant vulnerability in phpldapadmin that can lead to unauthorized access to LDAP servers. It is crucial for users to update to the patched version to mitigate risks. Additionally, implementing workarounds and utilizing monitoring tools like Vulert can enhance security.

See every vulnerability recorded for phpldapadmin →

Share this vulnerability

FAQ

CVE-2005-2654 is a vulnerability in phpldapadmin that allows unauthorized access to LDAP servers.

If you are using a version prior to 0.9.6c, your installation is vulnerable to CVE-2005-2654.

The risks include unauthorized access to sensitive LDAP data, which can lead to data breaches and manipulation of directory entries.

Yes, you can use Vulert to monitor your application for open-source vulnerabilities without needing access to the code. Visit https://vulert.com to learn more.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for phpldapadmin.

How To Fix

Minimum fixed version

0.9.6c-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpldapadmin

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