Emmanuel Lécharny created DIRAPI-460:
----------------------------------------
Summary: ComplexDnParser silently discards trailing garbage after
last RDN
Key: DIRAPI-460
URL: https://issues.apache.org/jira/browse/DIRAPI-460
Project: Directory Client API
Issue Type: Bug
Affects Versions: 2.1.8
Reporter: Emmanuel Lécharny
Fix For: 2.1.9
An application validates a user-supplied *DN* with _Dn.isValid()/new Dn(input)
_and forwards _dn.getName()_.
The attacker submits '_uid=jsmith\\2C<,uid=admin,ou=system_' — the complex
parser validates only '_uid=jsmith,_' yet _getName() _returns the whole string.
A downstream stricter parser (*OpenLDAP*, *JNDI LdapName*) reads it as ending
with '_uid=admin,ou=system_', enabling identity/authorization confusion between
validating and consuming components.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]