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>
1212<p >If user input must be included in an LDAP query, it should be escaped to
1313avoid a malicious user providing special characters that change the meaning
1414of 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 >
1616</recommendation >
1717
1818<example >
@@ -35,7 +35,6 @@ the query cannot be changed by a malicious user.</p>
3535<references >
3636<li >OWASP: <a href =" https://cheatsheetseries.owasp.org/cheatsheets/LDAP_Injection_Prevention_Cheat_Sheet.html" >LDAP Injection Prevention Cheat Sheet</a >.</li >
3737<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 >
4039</references >
4140</qhelp >
You can’t perform that action at this time.
0 commit comments