Two flaws were reported ,, in phpLDAPAdmin 22.214.171.124 and probably earlier versions.
1) Input appended to the URL in cmd.php (when "cmd" is 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.
2) Input passed to the "orderby" parameter in cmd.php (when "cmd" is set to "query_engine", "query" is set to "none", and "search" is 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.
Both issues are fixed in git: issue #1  and issue #2 .
I am unsure whether these flaws only affect 1.2.x or if they also affect older 1.x and 0.x.
Created phpldapadmin tracking bugs for this issue
Affects: fedora-all [bug 748538]
Affects: epel-6 [bug 748539]
Issue #1 was assigned the name CVE-2011-4074 and issue #2 was assigned the name CVE-2011-4075.
CVE-2011-4075 (issue #2) seems to affect 1.0.x and 0.9.8.x as well. I've patched 1.0.2 (el5) and 0.9.8.5 (el4) for this.
Updates for f14/f15/f16 and el4/el5/el6 should appear in updates-testing soon.
Yes another security flaw in phpLDAPadmin -- local file inclusion in "common.php" file via the "Accept-Language" HTTP header:
The patch applied by phpLDAPadmin v0.9.8.5 version would fix this issue too.
CVE request for the third issue:
for comment #4 :
The "common.php" issue was fixed even in 0.9.8.3, and such a version was in Fedora/EPEL since 2006. It is not actual for us at least last 5 years.
0.9.8.5 is not a "fix" for this particular issue, I just have updated to the latest subversion in that branch, additionally to the patch to fix CVE-2011-4075 .
Confirmed vulnerable in 0.9.7, and fixed in 0.9.8 (common.php was moved into /lib/ and majorly refactored, no more include()'s).
Since this third issue only affects EPEL4, I filed a new bug for it: bug #749677.
phpldapadmin-126.96.36.199-2.20111006git.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
phpldapadmin-188.8.131.52-2.20111006git.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.