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

Fix vulnerability in communication with LDAP connector #2635

Merged

Conversation

stavamichal
Copy link
Contributor

  • we need to properly escape some characters to prevent LDAP query
    injection
  • new method for escaping character was added
  • method was used for every input from outside (on searchString)

 - we need to properly escape some characters to prevent LDAP query
   injection
 - new method for escaping character was added
 - method was used for every input from outside (on searchString)
 - we need to use replace instead of replaceAll, because '\' and '$'
   could work in different meanings here
@stavamichal stavamichal force-pushed the fixVulnerablityInLDAPBasedExtSources branch from 4ee5c02 to 48cb4ec Compare March 24, 2020 14:05
@zlamalp zlamalp merged commit ac527bc into CESNET:master Mar 24, 2020
zlamalp added a commit that referenced this pull request Mar 24, 2020
…xtSources

Fix vulnerability in communication with LDAP connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants