Emmanuel Lécharny created DIRAPI-463:
----------------------------------------
Summary: Unrecognized password-scheme prefix silently falls back
to plaintext comparison
Key: DIRAPI-463
URL: https://issues.apache.org/jira/browse/DIRAPI-463
Project: Directory Client API
Issue Type: Bug
Affects Versions: 2.1.8
Reporter: Emmanuel Lécharny
Fix For: 2.1.9
A directory migrated from *OpenLDAP* stores userPassword =
'_{CRYPT}$2y$10$..._'.
The attacker obtains the value from a leaked *LDIF* export or permissive *ACI*
and binds with the literal 60-character stored string as the password —
_findAlgorithm_ returns null, _compareCredentials_ byte-compares, and the bind
succeeds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]