Directory Traversal Vulnerability in phpLDAPadmin: Remote File Inclusion Risk

phpldapadmin Updated 02 Oct 2025

Summary

28/12/2009
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2009-4427: Directory traversal vulnerability in cmd.php in phpLDAPadmin 1.1.0.5 allows remote attackers to include and execute arbitrary local files via a .. Affects phpldapadmin versions < 1.1.0.7-1.1. Fixed in 1.1.0.7-1.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 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 application designed for managing LDAP directories. It provides a user-friendly interface for performing various LDAP operations, such as adding, deleting, and modifying entries. The application is widely used in environments where LDAP is deployed for user authentication and directory services. However, a critical vulnerability has been identified in version 1.1.0.5, which allows attackers to exploit directory traversal flaws, potentially compromising the security of the system.

Vulnerability Detail

The vulnerability arises from a directory traversal flaw in the cmd.php file of phpLDAPadmin version 1.1.0.5. Attackers can manipulate the 'cmd' parameter to include and execute arbitrary local files on the server. This could lead to unauthorized access to sensitive information, execution of malicious scripts, or complete system compromise. The vulnerability is classified as medium urgency, indicating that while it is not the most critical, it poses a significant risk that should be addressed promptly.

How To Fix

Minimum fixed version

1.1.0.7-1.1

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 restrict access to the cmd.php file by modifying your web server configuration to deny requests to this file until the software can be updated. For example, in an Apache configuration, you can add the following directive: 'Location /path/to/cmd.php { Deny from all }'.

Conclusion

The directory traversal vulnerability in phpLDAPadmin poses a significant risk to systems using version 1.1.0.5. It is crucial to update to the patched version 1.1.0.7-1.1 to mitigate this risk. In the meantime, applying access restrictions can help protect against potential exploitation.

See every vulnerability recorded for phpldapadmin →

Share this vulnerability

FAQ

The vulnerability is a directory traversal issue that allows remote attackers to include and execute arbitrary local files.

The vulnerability affects phpLDAPadmin version 1.1.0.5. Versions 1.1.0.7-1.1 and later are patched.

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

If exploited, this vulnerability could lead to unauthorized access to sensitive data, execution of malicious code, and potentially full system compromise.

If an immediate update is not possible, implement access restrictions to the cmd.php file as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for phpldapadmin.

How To Fix

Minimum fixed version

1.1.0.7-1.1

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.