Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evrardjp-cagip
Copy link
Contributor

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).

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).

Co-Authored-By: Jean-Philippe Evrard <jean-philippe.evrard-prestataire@ca-gip.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant