LDAP Injection Vulnerability in phpLDAPadmin: CVE-2018-12689

phpldapadmin Updated 02 Oct 2025

Summary

22/06/2018
N/A
No i
Unrated
Not published

DEBIAN-CVE-2018-12689: phpLDAPadmin 1.2.2 allows LDAP injection via a crafted server_id parameter in a cmd.php?cmd=login_form request, or a crafted username and password in the login panel. Affects phpldapadmin versions 1.2.6.3-0.3 – 1.2.6.7-4. No fix is published. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phpLDAPadmin is a web-based application that provides a user-friendly interface for managing LDAP directories. It allows administrators to perform various tasks such as adding, deleting, and modifying LDAP entries. However, the application has been found to be vulnerable to LDAP injection attacks, which can compromise the security of the LDAP server and the data it holds.

Vulnerability Detail

The vulnerability identified as CVE-2018-12689 allows for LDAP injection through crafted input parameters. Specifically, an attacker can exploit the 'server_id' parameter in a 'cmd.php?cmd=login_form' request or manipulate the username and password fields in the login panel. This could lead to unauthorized access to sensitive data or manipulation of LDAP entries, posing a significant risk to the integrity and confidentiality of the LDAP directory.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement input validation and sanitization on the 'server_id' parameter and the login fields to prevent malicious input from being processed. This can be done by using appropriate escaping functions or by rejecting any input that does not conform to expected formats.

Conclusion

CVE-2018-12689 presents a significant security risk to phpLDAPadmin users, allowing for LDAP injection attacks that can compromise sensitive data. It is crucial to update to the latest version of the software and implement necessary security measures to protect against exploitation.

See every vulnerability recorded for phpldapadmin →

Share this vulnerability

FAQ

CVE-2018-12689 is a vulnerability in phpLDAPadmin that allows for LDAP injection attacks through crafted input parameters.

You can check if your installation is affected by using Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to analyze your application.

Exploitation of this vulnerability can lead to unauthorized access to LDAP data, manipulation of directory entries, and potential data breaches.

Yes, a patched version of phpLDAPadmin is available. Updating to the latest version will resolve the vulnerability.

If immediate updates are not possible, implement input validation and sanitization as a temporary workaround to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for phpldapadmin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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