Debian Security Advisory
DSA-2333-1 phpldapadmin -- several vulnerabilities
- Date Reported:
- 31 Oct 2011
- Affected Packages:
- Security database references:
- In the Debian bugtracking system: Bug 646754.
In Mitre's CVE dictionary: CVE-2011-4075, CVE-2011-4074.
- More information:
Two vulnerabilities have been discovered in phpLDAPadmin, a web based interface for administering LDAP servers. The Common Vulnerabilities and Exposures project identifies the following problems:
Input appended to the URL in cmd.php (when
cmdis set to
_debug) is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Input passed to the
orderbyparameter in cmd.php (when
cmdis set to
queryis set to
searchis set to e.g.
1) is not properly sanitised in lib/functions.php before being used in a
create_function()function call. This can be exploited to inject and execute arbitrary PHP code.
For the oldstable distribution (lenny), these problems have been fixed in version 188.8.131.52-6+lenny2.
For the stable distribution (squeeze), these problems have been fixed in version 184.108.40.206-2+squeeze1.
For the testing distribution (wheezy), these problems will be fixed soon.
For the unstable distribution (sid), these problems have been fixed in version 220.127.116.11-2.1.
We recommend that you upgrade your phpldapadmin packages.