Description
Finsys Dockhand through 1.0.18 contains an LDAP injection vulnerability in the tryLdapAuth function in src/lib/server/auth.ts, which inserts the login username into the LDAP search filter without escaping wildcard characters. Unauthenticated attackers can submit incremental wildcard patterns such as 'a*' to /api/auth/login and measure response timing to enumerate valid LDAP usernames while evading per-username rate limiting.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Finsys | dockhand | < 1.0.19 | 1.0.19 |
References
- GitHub Security Advisory (GHSA-vmm5-cjvh-7vmv) vendor-advisory
- VulnCheck Advisory: Dockhand before 1.0.19 Username Enumeration via LDAP Injection in tryLdapAuth third-party-advisory