8000 minor #7508 Added a caution note about the LDAP injection attacks (ja… · symfony/symfony-docs@3d2ce90 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d2ce90

Browse files
committed
minor #7508 Added a caution note about the LDAP injection attacks (javiereguiluz)
This PR was merged into the 2.8 branch. Discussion ---------- Added a caution note about the LDAP injection attacks After reading [this comment](#6795 (comment)) by @csarrazi I'm not sure which protection does the LDAP component offer and which one it doesn't ... so please, review this carefully. Thanks! Commits ------- dfc2867 Added a caution note about the LDAP injection attacks
2 parents da83ca4 + dfc2867 commit 3d2ce90

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

security/ldap.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,13 @@ use the ``ldap`` user provider.
167167
),
168168
);
169169
170+
.. caution::
171+
172+
The Security component escapes values provided when binding against an LDAP
173+
server (likewise for the user provider). However, the LDAP component does
174+
not provide any other escaping, so it's your responsibility to prevent
175+
the LDAP injection attacks.
176+
170177
The ``ldap`` user provider supports many different configuration options:
171178

172179
service

0 commit comments

Comments
 (0)
0