Files
versitygw/auth
Ben McClelland 9ac52cd5c7 fix: LDAP access key filter injection
LDAP-backed IAM lookups built a search filter using the request
access key before signature verification, allowing filter
metacharacters to alter query semantics. This made account
lookup behavior observable and could be abused as a
pre-authentication oracle in affected LDAP deployments.

This change escapes access key values with ldap.EscapeFilter
when constructing LDAP search filters and adds a regression
test that verifies metacharacters are encoded rather than
interpreted as filter operators.

Also add DN escaping along with this fix too.

Reported by GitHub user KrisKennawayDD.
2026-07-03 13:45:15 -07:00
..
2026-05-21 23:49:34 +04:00
2026-03-10 09:47:37 -07:00
2026-05-21 23:49:34 +04:00