Attacks and Exploits
Which attack alters the search filter a web application sends to a directory server by inserting crafted characters into a login form?
Show the answer
Correct answerA. LDAP injection
AWhy this is right: Injects filter syntax into input so the directory query is changed, which can bypass authentication.
BWhy not this: Manipulates SQL queries to a relational database, not the filters sent to a directory service.
CWhy not this: Tries one common password across many accounts; it does not alter any query.
DWhy not this: Reuses a captured NTLM hash to authenticate; it does not involve crafted input in a form.
LDAP injection inserts filter syntax such as parentheses and wildcards into unsanitized input, changing the query sent to the directory. SQL injection is similar in idea but targets relational database queries, not directory searches.