Directory Traversal Vulnerability in phpLDAPadmin: Remote File Access Risk

phpldapadmin Updated 02 Oct 2025

Summary

02/09/2005
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2005-2792: Directory traversal vulnerability in welcome.php in phpLDAPadmin 0.9.6 and 0.9.7 allows remote attackers to read arbitrary files via a .. Affects phpldapadmin versions < 0.9.6c-7. Fixed in 0.9.6c-7. 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

phpLDAPadmin is a web-based application designed to manage LDAP directories. It provides an intuitive interface for users to interact with LDAP servers, allowing for the management of users, groups, and other directory objects. Despite its functionality, phpLDAPadmin has been identified to have vulnerabilities that can be exploited, particularly a directory traversal issue that allows unauthorized access to sensitive files.

Vulnerability Detail

The vulnerability arises from a directory traversal flaw in the welcome.php file of phpLDAPadmin versions 0.9.6 and 0.9.7. This flaw permits remote attackers to read arbitrary files on the server by manipulating the 'custom_welcome_page' parameter with a '..' (dot dot) sequence. The implications of this vulnerability can be severe, as it may expose sensitive information stored on the server, leading to further exploitation or data breaches.

How To Fix

Minimum fixed version

0.9.6c-7

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, users can restrict access to the welcome.php file or disable the custom welcome page feature until the package is updated. This can be done by modifying the configuration settings in the phpLDAPadmin configuration file.

Conclusion

The directory traversal vulnerability in phpLDAPadmin poses a significant risk to users of versions 0.9.6 and 0.9.7. It is crucial to update to the patched version 0.9.6c-7 to mitigate this risk. Users should also consider using tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for phpldapadmin →

Share this vulnerability

FAQ

A directory traversal vulnerability allows an attacker to access files and directories that are stored outside the web root folder, potentially exposing sensitive information.

If you are using phpLDAPadmin versions 0.9.6 or 0.9.7, your installation is vulnerable to this issue. Check your version by running 'phpLDAPadmin --version' in the terminal.

The primary risk is unauthorized access to sensitive files on the server, which can lead to data breaches and further exploitation of the system.

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

If an immediate update is not possible, consider implementing access restrictions to the vulnerable files and monitoring your server for any suspicious activity.

Related vulnerabilities

Recent vulnerabilities recorded for phpldapadmin.

How To Fix

Minimum fixed version

0.9.6c-7

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