phpLDAPadmin reflected XSS in template engine dn parameter
phpLDAPadmin
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| phpLDAPadmin phpLDAPadmin |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck
References
- github.com/leenooks/phpLDAPadmin/commit/c87571f6b7be15d5cd8b26381b6eb31ad03d28e2Patch
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/phpldapadmin-xss.yaml
- vulncheck.com/advisories/phpldapadmin-1.1.0-before-1.2.5-reflected-xss-via-cmd-php-dn-parameter
- vulncheck.com/advisories/phpldapadmin-1.1.0-1.2.5-reflected-xss-via-cmd-php-dn-parameter
- github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54421.json
- nvd.nist.gov/vuln/detail/CVE-2023-54421