File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
csharp/ql/src/Security Features/CWE-090 Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ is likely to be able to run malicious LDAP queries.</p>
12
12
<p >If user input must be included in an LDAP query, it should be escaped to
13
13
avoid a malicious user providing special characters that change the meaning
14
14
of the query. If possible, use an existing library, such as the AntiXSS
15
- library.</p >
15
+ library. One may also make their own encoder filter < code >`LdapEncode`</ code > following RFC 4515 standards. </p >
16
16
</recommendation >
17
17
18
18
<example >
@@ -35,7 +35,6 @@ the query cannot be changed by a malicious user.</p>
35
35
<references >
36
36
<li >OWASP: <a href =" https://cheatsheetseries.owasp.org/cheatsheets/LDAP_Injection_Prevention_Cheat_Sheet.html" >LDAP Injection Prevention Cheat Sheet</a >.</li >
37
37
<li >OWASP: <a href =" https://www.owasp.org/index.php/Preventing_LDAP_Injection_in_Java" >Preventing LDAP Injection in Java</a >.</li >
38
- <li >AntiXSS doc: <a href =" http://www.nudoq.org/#!/Packages/AntiXSS/AntiXssLibrary/Encoder/M/LdapFilterEncode" >LdapFilterEncode</a >.</li >
39
- <li >AntiXSS doc: <a href =" http://www.nudoq.org/#!/Packages/AntiXSS/AntiXssLibrary/Encoder/M/LdapDistinguishedNameEncode" >LdapDistinguishedNameEncode</a >.</li >
38
+ <li >RFC 4515: <a href =" https://datatracker.ietf.org/doc/html/rfc4515#section-3" >String Search Filter Definition</a >.</li >
40
39
</references >
41
40
</qhelp >
You can’t perform that action at this time.
0 commit comments