CVE-2023-54421
CVE-2023-54421 · phpLDAPadmin 1.1.0 < 1.2.5 Reflected XSS via cmd.php dn Parameter
CVSS 5.1 · Medium · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- phpldapadminUpdate to 1.2.5
- phpldapadmin Ubuntu 16.04 LTSNo fix published
- phpldapadmin Ubuntu 18.04 LTSNo fix published
- phpldapadmin Ubuntu 20.04 LTSNo fix published
- and 4 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="phpldapadmin"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
phpLDAPadmin 1.1.0 before 1.2.5 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts through the dn parameter of cmd.php?cmd=template_engine. Attackers can supply an unparseable dn value that pretty_print_dn returns unescaped in the 'No such entry' error, executing JavaScript in victims' browsers. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-23.
- Published
- Updated
Stack: system
Affected products and versions
phpldapadmin
- Versions
- ≥ 1.1.0, < 1.2.5: Affected (custom)
Update to 1.2.5
phpldapadmin Ubuntu 16.04 LTS
- Versions
- 1.2.2-5.2
- 1.2.2-5.2ubuntu1
- 1.2.2-5.2ubuntu2
- 1.2.2-5.2ubuntu2.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
phpldapadmin Ubuntu 18.04 LTS
- Versions
- 1.2.2-6ubuntu1
- 1.2.2-6ubuntu1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
phpldapadmin Ubuntu 20.04 LTS
- Versions
- 1.2.2-6.1ubuntu1
- 1.2.2-6.2ubuntu1
- 1.2.2-6.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
phpldapadmin Ubuntu 22.04 LTS
- Versions
- 1.2.2-6.3
- 1.2.6.3-0.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
phpldapadmin Ubuntu 24.04 LTS
- Versions
- 1.2.6.3-0.3
- 1.2.6.6-2
- 1.2.6.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
phpldapadmin Ubuntu 26.10
- Versions
- 1.2.6.7-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
phpldapadmin Ubuntu 26.04 LTS
- Versions
- 1.2.6.7-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/leenooks/phpLDAPadmin/commit/c87571f6b7be15d5cd8b26381b6eb31ad03d28e2
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpldapadmin-xss.yaml
- https://www.vulncheck.com/advisories/phpldapadmin-1.1.0-before-1.2.5-reflected-xss-via-cmd-php-dn-parameter
- https://www.vulncheck.com/advisories/phpldapadmin-1.1.0-1.2.5-reflected-xss-via-cmd-php-dn-parameter
- https://nvd.nist.gov/vuln/detail/CVE-2023-54421