CVE-2018-12689: phpLDAPadmin 1.2.2 allows LDAP injection via a crafted server_id parameter in a cmd.php?cmd=login_form request
CVE-2018-12689 is a critical-severity flaw (CVSS 9.8) affecting phpldapadmin. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 23%) |
| CISA exploited list | No |
| Published | 2018-06-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-12689?
phpldapadmin: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-12689 being exploited?
CVE-2018-12689 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-12689 affect?
CVE-2018-12689 affects phpldapadmin. Severity is critical (CVSS 9.8). 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.
How urgent is CVE-2018-12689?
Priority 64/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2020-35132 MEDIUM 5.4 UPGRADE MITIGATE An XSS issue has been discovered in phpLDAPadmin before 1.2.6.2 that allows users to store malicious values th
- CVE-2017-11107 MEDIUM 6.1 UPGRADE MITIGATE phpLDAPadmin through 1.2.3 has XSS in htdocs/entry_chooser.php via the form, element, rdn, or container parame
- CVE-2011-4082 HIGH 7.5 UPGRADE MITIGATE A local file inclusion flaw was found in the way the phpLDAPadmin before 0.9.8 processed certain values of the