kubi icon indicating copy to clipboard operation
kubi copied to clipboard

[WIP] fix(api): filter username input on ldap query

Open evrardjp-cagip opened this issue 1 year ago • 0 comments

Without this, it is possible to do an ldap query injection. This is a problem as it is a possible vulnerability issue. However, it is very unlikely to arrive to real case exploitation, as the input is admin given.

This fixes it by ensuring filtering with a regexp and adding the appropriate tests (here done with fuzzing).

evrardjp-cagip avatar Dec 17 '24 16:12 evrardjp-cagip