XSS Vulnerability in phpLDAPadmin: Critical Security Flaw in Entry Chooser

phpldapadmin Updated 02 Oct 2025

Summary

08/07/2017
N/A
Yes i
Medium
6.1

CVE-2017-11107: phpLDAPadmin through 1.2.3 has XSS in htdocs/entry_chooser.php via the form, element, rdn, or container parameter. Affects phpldapadmin across 2 version ranges.

< 1.2.2-6.2 < cfbee19721c88033d735dfd802ae68bb6cfdd1fe

Fixed in 1.2.2-6.2. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

phpLDAPadmin is a web-based LDAP client that allows users to manage LDAP directories easily. It provides a user-friendly interface for performing various LDAP operations, such as adding, modifying, and deleting entries. Despite its robust functionality, phpLDAPadmin is susceptible to cross-site scripting (XSS) vulnerabilities, which can compromise user data and security.

Vulnerability Detail

The vulnerability identified as CVE-2017-11107 affects phpLDAPadmin versions up to 1.2.3. It arises from improper handling of user input in the entry_chooser.php file, specifically through the 'form', 'element', 'rdn', or 'container' parameters. This flaw allows attackers to inject malicious scripts into the web application, which can be executed in the context of the user's browser. The potential ramifications include unauthorized access to sensitive information, session hijacking, and defacement of the web application.

How To Fix

Minimum fixed version

1.2.2-6.2

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

If upgrading is not immediately possible, consider implementing input validation and sanitization for the affected parameters ('form', 'element', 'rdn', 'container') to mitigate the risk of XSS attacks. This can be done by encoding user inputs before rendering them in the web application.

Conclusion

The CVE-2017-11107 vulnerability in phpLDAPadmin poses significant security risks due to its XSS nature. Users are strongly advised to upgrade to the latest version to protect their applications from potential attacks. Implementing input validation can serve as a temporary workaround until the upgrade is completed.

See every vulnerability recorded for phpldapadmin →

Share this vulnerability

FAQ

CVE-2017-11107 is a cross-site scripting (XSS) vulnerability found in phpLDAPadmin that allows attackers to inject malicious scripts via specific parameters.

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

Exploitation of this vulnerability can lead to unauthorized access to sensitive data, session hijacking, and potential defacement of the web application.

Yes, upgrading phpLDAPadmin to version 1.2.2-6.2 or later will patch this vulnerability.

The CVSS score for CVE-2017-11107 is 6.1, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for phpldapadmin.

How To Fix

Minimum fixed version

1.2.2-6.2

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