phpLDAPadmin 'cmd.php' Local File Include Vulnerability

BID:37327

Info

phpLDAPadmin 'cmd.php' Local File Include Vulnerability

Bugtraq ID: 37327
Class: Input Validation Error
CVE: CVE-2009-4427
Remote: Yes
Local: No
Published: Dec 14 2009 12:00AM
Updated: Apr 16 2015 05:49PM
Credit: ipsecs
Vulnerable: phpldapadmin phpldapadmin 1.1.0.5
MandrakeSoft Enterprise Server 5 x86_64
MandrakeSoft Enterprise Server 5
Debian Linux 5.0 sparc
Debian Linux 5.0 s/390
Debian Linux 5.0 powerpc
Debian Linux 5.0 mipsel
Debian Linux 5.0 mips
Debian Linux 5.0 m68k
Debian Linux 5.0 ia-64
Debian Linux 5.0 ia-32
Debian Linux 5.0 hppa
Debian Linux 5.0 armel
Debian Linux 5.0 arm
Debian Linux 5.0 amd64
Debian Linux 5.0 alpha
Debian Linux 5.0
Not Vulnerable:

Discussion

phpLDAPadmin 'cmd.php' Local File Include Vulnerability

phpLDAPadmin is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied data.

Exploiting this issue may allow an attacker to compromise the application and the underlying system; other attacks are also possible.

phpLDAPadmin 1.1.0.5 is vulnerable; other versions may also be affected.

Exploit / POC

phpLDAPadmin 'cmd.php' Local File Include Vulnerability

An attacker can exploit this issue via a browser.

The following example URI is available:

http://www.example.com/phpldapadmin/cmd.php?cmd=../../../../etc/passwd%00

Solution / Fix

phpLDAPadmin 'cmd.php' Local File Include Vulnerability

Solution:
Updates are available. Please see the references for more information.


Debian Linux 5.0 hppa

Debian Linux 5.0 ia-64

Debian Linux 5.0 m68k

Debian Linux 5.0 arm

Debian Linux 5.0 armel

MandrakeSoft Enterprise Server 5 x86_64

Debian Linux 5.0

Debian Linux 5.0 amd64

Debian Linux 5.0 alpha

Debian Linux 5.0 ia-32

Debian Linux 5.0 mips

MandrakeSoft Enterprise Server 5

Debian Linux 5.0 s/390

Debian Linux 5.0 mipsel

Debian Linux 5.0 powerpc

Debian Linux 5.0 sparc

References

phpLDAPadmin 'cmd.php' Local File Include Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report