Berildocs GitHub

Memory cards

LDAP and XPath injection are filter syntax bugs

confidence: mediumupdated: 2026-11-24status: activewebldapxpathinjection

Claim#

User input is concatenated into an LDAP filter or XPath expression, so a wildcard or boolean changes the match set.

Test#

Try )(uid=, admin*, and boolean pairs. For XPath, try ' or 1=1 or '1'='1 and count nodes.

Proof#

A login bypass or extra node in the result.

Failure modes#

An LDAP bind that parses the filter safely is not vulnerable. Escaping differs by library.