Emmanuel Lécharny created DIRAPI-451:
----------------------------------------
Summary: Encoder recurses once per filter sibling and per
control, stack overflow
Key: DIRAPI-451
URL: https://issues.apache.org/jira/browse/DIRAPI-451
Project: Directory Client API
Issue Type: Bug
Affects Versions: 2.1.8
Reporter: Emmanuel Lécharny
Fix For: 2.1.9
A directory-integrated web app accepts a user-provided filter expression,
parses it with _FilterParser_ and issues it via
_LdapNetworkConnection.search()_.
The attacker submits _(|(cn=a0)(cn=a1)...)_ with 100,000 terms.
Parsing succeeds, then _encodeFilters_ recurses 100,000 frames and throws
_StackOverflowError_ inside the connection's write path
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]