medium5.1
CVE-2023-54421
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 …
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to actively do something, such as open a file or a link.
Affected products · phpLDAPadmin
| Product | Affected versions |
|---|---|
| phpLDAPadmin | from 1.1.0 before 1.2.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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://github.com/advisories/GHSA-44mc-6gf8-97fg
- https://nvd.nist.gov/vuln/detail/CVE-2023-54421