Emmanuel Lécharny created DIRAPI-458:
----------------------------------------

             Summary: FilterEncoder passes attacker hex escapes through 
unencoded
                 Key: DIRAPI-458
                 URL: https://issues.apache.org/jira/browse/DIRAPI-458
             Project: Directory Client API
          Issue Type: Bug
    Affects Versions: 2.1.8
            Reporter: Emmanuel Lécharny
             Fix For: 2.1.9


A web app blocks the username '_admin_' at input validation, then builds 
"_(uid={0})_" via _FilterEncoder.format_.
The attacker submits '_\61dmin_' — the blocklist sees no forbidden substring, 
the encoder emits _(uid=\61dmin)_, the directory decodes the assertion to 
'_admin_', and the lookup proceeds against the fenced-off entry. 
The same trick defeats per-username lockout/rate-limit counters keyed on the 
literal input.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to