Emmanuel Lécharny created DIRAPI-448:
----------------------------------------
Summary: FilterBuilder concatenates attribute names and matching
rules unvalidated
Key: DIRAPI-448
URL: https://issues.apache.org/jira/browse/DIRAPI-448
Project: Directory Client API
Issue Type: Bug
Affects Versions: 2.1.8
Reporter: Emmanuel Lécharny
Fix For: 2.1.9
An advanced-search UI lets the user pick the field to search and calls
_and(equal(userAttr, userValue), equal("objectClass","person"));_.
The attacker submits_ userAttr = "uid=admin)(roomNumber"_, injecting a clause
matching the admin entry and repurposing the value assertion — changing which
entries the privileged query returns.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]