Skip to content
Info disclosure Write-up Intermediate

LDAP Injection: Its As Simple As A TRUE/FALSE

The forgot-password form on a public website built an LDAP filter by concatenating user input without escaping, allowing an attacker to inject LDAP filter syntax. By sending always-true and always-false payloads, the attacker created a boolean oracle and extracted employee directory data such as usernames, full names, job titles, phone numbers, and account status without authentication.

clarkvoss Follow

Published on clarkvoss.medium.com

Hacking

Clark Voss, on clarkvoss.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

Context

This is a write-up of a blind LDAP injection found in a public-facing password reset form on an application backed by a corporate directory. The author describes the target only as an enterprise app sitting in front of Active Directory, with a forgot-password endpoint that takes an email address and returns one of a handful of messages depending on what the backend lookup finds. The report does not name the product, the program or the organisation.

The feature itself is ordinary: a user enters an email address, the application checks the directory for a matching account, and the response tells the user something about the outcome. The author's point is that this kind of check is exactly where developers wire user input straight into an LDAP filter, and that these flows are common in password resets, employee lookups and help desk tools.

From the original on clarkvoss.medium.com

Setup

The report does not describe any credentials being used: the whole attack runs unauthenticated against the public reset form. The tooling mentioned is Burp for sending and diffing requests, and a small custom Python tool the author wrote to automate extraction, published as blind-ldap-injector. No versions are given.

Two preconditions made the attack possible. First, the endpoint performed a real directory lookup and branched on the result, so responses differed by account state. Second, nothing on the client side rejected input that was not a valid email address, so arbitrary strings reached the lookup layer.

Finding it

The author starts from tells that an app is backed by a corporate directory: a login page mentioning a domain-joined account, language about "your organization email", or failed-login errors that sound like Active Directory rather than a custom user table. On this target the forgot-password endpoint returned one of several messages depending on what it found, and two details stood out:

  1. The wording was oddly specific about account state. It distinguished "account is disabled" from a generic "if this account exists" message, which indicated the backend was doing a real lookup and branching on the result rather than always returning the same response.
  2. There was no client-side validation stopping garbage from being sent in the email field. The input went straight through.

The second point is the one the author stresses. Many forms will accept [redacted])(uid=* in a text box, but either validate it as an email format first or never pass the field to anything query-shaped. Here nothing stopped unusual input from reaching the lookup.

From the original on clarkvoss.medium.com

Exploitation

Step 1: confirm a boolean oracle

The first test is the classic pair: a payload that should always evaluate true and one that should always evaluate false, both using the filter-closing trick.

Text
Email=*)(objectClass=*Email=*)(!(objectClass=*)

The first payload closes whatever filter clause the application was building around the input and appends a condition that is true for essentially every LDAP entry (objectClass=*). The second does the same but negates it, so it should never match anything.

Both were sent through Burp and the responses diffed. The always-true payload returned "account is disabled, contact IT", meaning it had matched a real entry that carried some flag. The always-false payload returned a completely different message, along the lines of "user information is null or empty". Two distinguishable responses driven entirely by whether the injected condition matched a directory entry is a boolean oracle, and with one of those against LDAP data can be pulled out one bit at a time.

From the original on clarkvoss.medium.com

One complication: the form carried a rotating antiforgery token in a hidden field that changed on every response. This is a common CSRF mitigation and does not stop the injection; it only means each automated request must scrape the fresh token from the previous response and carry it forward.

Step 2: automate extraction

Manual character-by-character testing in Burp proves the concept but extracting useful data means thousands of requests. The author wrote a small Python tool and highlights several design decisions.

The naive approach is greedy: for each position, try every character in the charset, take the first that returns true, advance, repeat. This breaks when two directory entries share a prefix. If one user is aaronsmith and another is abrotholomew, once the walk matches the a it cannot tell which entry it is following and can silently jump between them mid-extraction, producing a string stitched from two people that belongs to nobody, with no indication that it happened.

The fix is to track every prefix still consistent with the oracle at each position, not just the first match, and expand all of them in parallel. It is slower because it branches, but it is the only way to be sure the extracted value belongs to a single entry. A cap on how many branches can stay alive at once keeps a genuinely ambiguous position from turning into an unbounded search.

Anchoring is the other key idea. Once the tool has a confirmed unique identifier for an entry, such as a username already proven to map to exactly one directory object, all further extraction is bound to that entry with a compound filter:

Text
&(anchor=value)(target_attr=value*)

That is how the tool moves from "there is an account matching this username" to "here is that account's email, display name, phone number" without cross-contamination between entries. The tool also checks the anchor: it fires two complementary conditions ANDed with the anchor, one for "attribute starts with X" and one for its negation, and if both come back true then more than one entry matches the anchor and nothing pulled through it should be trusted yet.

On top of that the tool provides:

  • Character-by-character extraction of an attribute value using the branching approach above.
  • A flat sweep against a wordlist or numeric range for cold-start discovery of valid usernames or IDs, more reliable than brute-forcing a completely unknown identifier one character at a time.
  • Existence checks across a large list of common Active Directory attribute names, to see what is populated on an entry before spending requests extracting it.
  • Binary search via LDAP's <= comparison operator for integer-syntax attributes such as last logon time or password age, which do not support substring matching at all.
  • Retry and backoff logic, because a live target produces the occasional flaky response and one bad request should not kill a run that has been going for twenty minutes.

Concurrency was added as well. The antiforgery token only has to match the session that requested it, it is not a single global one-time value, so several independent sessions can run in parallel, each with its own cookie jar and token. That reduced extraction from hours to something far more reasonable.

From the original on clarkvoss.medium.com

Step 3: extract directory data

With a working anchor, the author ran attribute discovery to see what was populated and search-visible, then pulled the interesting attributes. The values below are stand-ins, not the real data recovered, but they show the categories and shape of what came back:

Text
sAMAccountName: jsmithdisplayName: Jane Smithtitle: Program Coordinatordepartment: Coordinator Servicesmail: [redacted]: 555–0142employeeID: 10482memberOf: CN=Staff-AllEmployees,OU=Groups,DC=example,DC=comuserAccountControl: 512 (account active, not disabled)

A meaningful number of valid usernames were enumerated through the wordlist sweep, and each was walked through attribute discovery and extraction to build full names, job titles, direct phone numbers, department assignments and employee IDs. Account state attributes such as userAccountControl and lockoutTime were also readable, so the account list could be combined with live signal on which accounts are enabled and unlocked, which is exactly what a password spray would need.

None of this required a valid login. It all sat behind a public-facing password reset form.

From the original on clarkvoss.medium.com

Root cause

The root cause is string concatenation of user input into an LDAP filter. The email field was placed into the filter the application built for its lookup, so closing the surrounding clause and appending a condition changed the query's logic. The application then branched on the result, which turned the query into a boolean oracle.

Existing defences did not stop it. The rotating antiforgery token is a CSRF control and has no bearing on injection; it only forced the tooling to carry a fresh token per request. There was no client-side validation that the value looked like an email address, and no meaningful rate limiting that would have made the volume of requests needed for extraction impractical. The root cause is string concatenation of the input into the filter, which is why the injection worked.

Impact

An unauthenticated attacker can build a full, accurate map of an organisation's staff: real names, job titles, direct phone numbers, departments, employee IDs and account state. The author frames this as a phishing and pretexting kit assembled from a public form, and notes that pairing it with account-state data makes a password spray smarter because the attacker knows which accounts are live and unlocked instead of guessing.

The severity comes from three things stacking: no authentication is required, the process is fully automatable with no meaningful rate limiting in the way, and the exposed data is exactly what the next stage of an attack needs rather than incidental. The author acknowledges the temptation to file this as low-severity information disclosure, since no password is handed over directly, and argues against that view on the basis of the above.

Fix

The root cause is string concatenation into an LDAP filter, so the fix is to stop building filters by hand and to run every piece of user input through the LDAP library's escaping function before it goes anywhere near a filter string. The author notes that .NET's directory services libraries have this built in, as do most other ecosystems, and that there is no reason to build filter strings manually.

Beyond the core fix, three measures would have blunted the attack even if the injection had slipped through:

  • Return the exact same response regardless of whether the account exists, is disabled, or the input is malformed. Collapsing that distinction kills the oracle even if something upstream is broken.
  • Rate limit the endpoint. This kind of extraction needs a lot of requests, and nothing here slowed that down.
  • Validate that the input actually looks like an email address before it reaches the directory layer. This is defence in depth, not a replacement for fixing the query, but it would have stopped this specific payload shape.

Variants to test

  • Forgot-password and account-lookup flows in front of a corporate directory. Send the always-true and always-false payloads and diff the responses; a positive result is two clearly different messages driven by whether the injected condition matched.
  • Any form field that might reach an LDAP filter, such as login, search or help desk lookup fields. A positive result is a response that changes when you send an always-true payload versus an always-false one.
  • Attribute discovery against a confirmed anchor. A positive result is a true/false answer for common Active Directory attribute names, telling you which attributes are populated and search-visible.
  • Integer-syntax attributes such as last logon time or password age.
  • Anchor uniqueness checks. Fire an attribute condition and its negation ANDed with the anchor; if both come back true, more than one entry matches and extraction through that anchor is unreliable.
  • Rate limiting and token handling.
From the original on clarkvoss.medium.com

The author's closing observation is that LDAP injection gets far less attention than SQL injection: scanners check for SQLi by default, fewer people look at whether a form field ends up in a directory query, and boolean oracle exploitation needs custom logic per target that most automated tools do not provide.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 17 min read.

What happened, in plain words

A security researcher found a way to make a company's public "forgot your password" form answer questions it was never meant to answer. By typing specially crafted text into the email box, he could ask the system yes/no questions about the company's internal staff directory, and the form's error messages would tell him the answer. One question at a time, he could work out employees' usernames, full names, job titles, departments, phone numbers, employee IDs and whether each account was active. He never logged in. The form was open to anyone on the internet.

The bug class is called LDAP injection. LDAP is the protocol companies use to talk to their staff directory, and Active Directory is Microsoft's version of that directory. When a program builds a directory query by gluing text together, and part of that text comes from a user, the user can slip in extra query syntax and change what the query means. That is the whole idea, and it is the same family of mistake as SQL injection, which you may have heard of.

The report does not name the product, the company or the bug bounty program. The author describes the target only as an enterprise application sitting in front of Active Directory, with a forgot-password endpoint that takes an email address and replies with one of a handful of messages depending on what the backend lookup finds.

From the original on clarkvoss.medium.com

The feature, and why it is a good place to look

The feature is ordinary. You type your email address into a reset form, the application checks the directory for a matching account, and the response tells you something about the outcome. The author's point is that this exact check is where developers often wire user input straight into an LDAP filter, and that these flows are common in password resets, employee lookups and help desk tools.

A quick word on the pieces involved, since the rest of the article leans on them:

  • Directory: a database of people and things inside a company, with attributes such as username, display name, email, phone, department and account status. Active Directory is Microsoft's directory product.
  • LDAP: the language and protocol used to ask a directory questions. A question is called a filter, and a filter is a piece of text with conditions in it, for example "find the entry whose mail attribute equals this address".
  • Filter injection: if a program builds that filter by pasting your input into a template, you can include characters that end the intended condition early and add conditions of your own.
  • Blind injection: you cannot see the directory's raw answer. You only see whether the application's reply changed. So you ask yes/no questions and infer the data from the pattern of replies.
  • Boolean oracle: a yes/no signal you can rely on. "Oracle" here just means something that answers questions truthfully. If the reply differs when your injected condition matches an entry versus when it does not, you have an oracle.

Setup

The report does not describe any credentials being used: the whole attack runs unauthenticated against the public reset form. The tooling mentioned is Burp, a program used to intercept, send and compare web requests, and a small custom Python tool the author wrote to automate extraction, published as blind-ldap-injector. No versions are given.

Two preconditions made the attack possible. First, the endpoint performed a real directory lookup and branched on the result, so responses differed by account state. Second, nothing on the client side rejected input that was not a valid email address, so arbitrary strings reached the lookup layer.

Finding it

The author starts from tells that an app is backed by a corporate directory: a login page mentioning a domain-joined account, language about "your organization email", or failed-login errors that sound like Active Directory rather than a custom user table. On this target the forgot-password endpoint returned one of several messages depending on what it found, and two details stood out:

  1. The wording was oddly specific about account state. It distinguished "account is disabled" from a generic "if this account exists" message, which indicated the backend was doing a real lookup and branching on the result rather than always returning the same response.
  2. There was no client-side validation stopping garbage from being sent in the email field. The input went straight through.

The second point is the one the author stresses. Many forms will accept [redacted])(uid=* in a text box, but either validate it as an email format first or never pass the field to anything query-shaped. Here nothing stopped unusual input from reaching the lookup.

From the original on clarkvoss.medium.com

Why this matters: a generic message like "if this account exists, you will receive an email" is deliberately vague so that strangers cannot learn who works somewhere. A message that says "account is disabled" is a small leak on its own, but more importantly it proves the application is checking a real record and telling you something about it. That is the raw material for an oracle.

Exploitation

Step 1: confirm a boolean oracle

The first test is the classic pair: a payload that should always evaluate true and one that should always evaluate false, both using the filter-closing trick.

Text
Email=*)(objectClass=*Email=*)(!(objectClass=*)

Line by line, in plain words:

  • Email= is the field name and the start of the value being sent. Everything after it is the text placed into the email box.
  • * is a wildcard meaning "anything".
  • ) is a closing bracket. The application has built a filter with an opening bracket before your input, so this closes that condition early.
  • (objectClass=*) is a new condition meaning "this entry has an objectClass attribute, whatever its value". Nearly every entry in a directory has one, so this condition is true for essentially every entry. That makes the whole payload the always-true one.
  • The second payload repeats the same opening, then adds ! before the bracket. In LDAP, ! means NOT, so (!(objectClass=*)) means "it is not the case that this entry has an objectClass", which should never match anything. That makes it the always-false one.

Both were sent through Burp and the responses diffed. The always-true payload returned "account is disabled, contact IT", meaning it had matched a real entry that carried some flag. The always-false payload returned a completely different message, along the lines of "user information is null or empty". Two distinguishable responses driven entirely by whether the injected condition matched a directory entry is a boolean oracle, and with one of those against LDAP data can be pulled out one bit at a time.

From the original on clarkvoss.medium.com

One complication: the form carried a rotating antiforgery token in a hidden field that changed on every response. This is a common CSRF mitigation and does not stop the injection; it only means each automated request must scrape the fresh token from the previous response and carry it forward.

Two terms there. A token in this sense is a short random value the server puts into the page and expects back with the next submission, to prove the submission came from the page it served rather than from a malicious site. CSRF (cross-site request forgery) is an attack where another website makes your browser submit a form you did not intend to submit; the token is the usual defence. A cookie is a small piece of data the server asks your browser to store and send back with every request, which is how the server recognises your session. None of this blocks injection, because the token only proves the request came from the real page, not that the input inside it is harmless.

Step 2: automate extraction

Manual character-by-character testing in Burp proves the concept but extracting useful data means thousands of requests. The author wrote a small Python tool and highlights several design decisions.

The naive approach is greedy: for each position, try every character in the charset, take the first that returns true, advance, repeat. This breaks when two directory entries share a prefix. If one user is aaronsmith and another is abrotholomew, once the walk matches the a it cannot tell which entry it is following and can silently jump between them mid-extraction, producing a string stitched from two people that belongs to nobody, with no indication that it happened.

An everyday comparison: imagine guessing a name by asking "does it start with A?" and then "does the second letter come after B?" while two different people's names both start with A. You will happily collect letters from both names and end up with a word that is nobody's name, and nothing will warn you.

The fix is to track every prefix still consistent with the oracle at each position, not just the first match, and expand all of them in parallel. It is slower because it branches, but it is the only way to be sure the extracted value belongs to a single entry. A cap on how many branches can stay alive at once keeps a genuinely ambiguous position from turning into an unbounded search.

Anchoring is the other key idea. Once the tool has a confirmed unique identifier for an entry, such as a username already proven to map to exactly one directory object, all further extraction is bound to that entry with a compound filter:

Text
&(anchor=value)(target_attr=value*)

Line by line:

  • & means AND: both conditions that follow must be true for the entry to match.
  • (anchor=value) pins the query to the one entry you already identified, for example a specific username.
  • (target_attr=value*) is the question you are actually asking about that entry, for example "does the mail attribute start with these characters". The trailing * is the wildcard, so this is a prefix test.

That is how the tool moves from "there is an account matching this username" to "here is that account's email, display name, phone number" without cross-contamination between entries. The tool also checks the anchor: it fires two complementary conditions ANDed with the anchor, one for "attribute starts with X" and one for its negation, and if both come back true then more than one entry matches the anchor and nothing pulled through it should be trusted yet.

On top of that the tool provides:

  • Character-by-character extraction of an attribute value using the branching approach above.
  • A flat sweep against a wordlist or numeric range for cold-start discovery of valid usernames or IDs, more reliable than brute-forcing a completely unknown identifier one character at a time.
  • Existence checks across a large list of common Active Directory attribute names, to see what is populated on an entry before spending requests extracting it.
  • Binary search via LDAP's <= comparison operator for integer-syntax attributes such as last logon time or password age, which do not support substring matching at all.
  • Retry and backoff logic, because a live target produces the occasional flaky response and one bad request should not kill a run that has been going for twenty minutes.

A few of those need unpacking. An attribute is a named field on a directory entry, like mail or telephoneNumber. Cold-start discovery means you do not yet know any valid username, so you try a list of common ones and see which produce a positive answer. Binary search is the guessing game where you halve the range each time: is the number above or below the middle? For a number like a last logon timestamp, substring matching makes no sense, but "is it less than or equal to this value" does, so you can narrow it down quickly. Retry and backoff means the tool waits and tries again after a failed request instead of giving up, and slows down when the server seems unhappy.

Concurrency was added as well. The antiforgery token only has to match the session that requested it, it is not a single global one-time value, so several independent sessions can run in parallel, each with its own cookie jar and token. That reduced extraction from hours to something far more reasonable.

From the original on clarkvoss.medium.com

Step 3: extract directory data

With a working anchor, the author ran attribute discovery to see what was populated and search-visible, then pulled the interesting attributes. The values below are stand-ins, not the real data recovered, but they show the categories and shape of what came back:

Text
sAMAccountName: jsmithdisplayName: Jane Smithtitle: Program Coordinatordepartment: Coordinator Servicesmail: [redacted]: 555–0142employeeID: 10482memberOf: CN=Staff-AllEmployees,OU=Groups,DC=example,DC=comuserAccountControl: 512 (account active, not disabled)

Line by line:

  • sAMAccountName: jsmith is the directory's login name for the account.
  • displayName: Jane Smith is the person's name as shown in the company directory.
  • title: Program Coordinator is their job title.
  • department: Coordinator Services is the team or department they belong to.
  • mail: [redacted] is their work email address.
  • telephoneNumber: 555–0142 is a direct phone number.
  • employeeID: 10482 is an internal staff number.
  • memberOf: CN=Staff-AllEmployees,OU=Groups,DC=example,DC=com lists a group the account belongs to, written in the directory's own naming format.
  • userAccountControl: 512 (account active, not disabled) is a numeric flag describing the account's state; the report's stand-in shows the value that means active and not disabled.

A meaningful number of valid usernames were enumerated through the wordlist sweep, and each was walked through attribute discovery and extraction to build full names, job titles, direct phone numbers, department assignments and employee IDs. Account state attributes such as userAccountControl and lockoutTime were also readable, so the account list could be combined with live signal on which accounts are enabled and unlocked, which is exactly what a password spray would need.

A password spray is the opposite of guessing one account's password many times. You take one or two very common passwords and try them against many accounts, staying under lockout thresholds. It works better when you know which accounts exist and are active, which is precisely what this data provides.

None of this required a valid login. It all sat behind a public-facing password reset form.

From the original on clarkvoss.medium.com

Root cause

The root cause is string concatenation of user input into an LDAP filter. The email field was placed into the filter the application built for its lookup, so closing the surrounding clause and appending a condition changed the query's logic. The application then branched on the result, which turned the query into a boolean oracle.

An everyday comparison: a form letter that says "Dear [NAME], your account is [STATUS]" is fine until someone writes a name containing instructions that change the rest of the letter. Here the "letter" is a database query, and the instructions are LDAP syntax.

Existing defences did not stop it. The rotating antiforgery token is a CSRF control and has no bearing on injection; it only forced the tooling to carry a fresh token per request. There was no client-side validation that the value looked like an email address, and no meaningful rate limiting that would have made the volume of requests needed for extraction impractical. The root cause is string concatenation of the input into the filter, which is why the injection worked.

Escaping means marking special characters in user input so they are treated as ordinary text rather than as query syntax. If the application had escaped the brackets, asterisks and exclamation marks, the payload would have been searched for literally and found nothing.

Impact

An unauthenticated attacker can build a full, accurate map of an organisation's staff: real names, job titles, direct phone numbers, departments, employee IDs and account state. The author frames this as a phishing and pretexting kit assembled from a public form, and notes that pairing it with account-state data makes a password spray smarter because the attacker knows which accounts are live and unlocked instead of guessing.

Phishing is a fake message designed to get someone to click, log in or hand over information. Pretexting is inventing a believable story to go with it, for example calling the help desk as a named employee from a named department. Real names, titles and direct numbers make that story convincing.

The severity comes from three things stacking: no authentication is required, the process is fully automatable with no meaningful rate limiting in the way, and the exposed data is exactly what the next stage of an attack needs rather than incidental. The author acknowledges the temptation to file this as low-severity information disclosure, since no password is handed over directly, and argues against that view on the basis of the above.

Fix

The root cause is string concatenation into an LDAP filter, so the fix is to stop building filters by hand and to run every piece of user input through the LDAP library's escaping function before it goes anywhere near a filter string. The author notes that .NET's directory services libraries have this built in, as do most other ecosystems, and that there is no reason to build filter strings manually.

Beyond the core fix, three measures would have blunted the attack even if the injection had slipped through:

  • Return the exact same response regardless of whether the account exists, is disabled, or the input is malformed. Collapsing that distinction kills the oracle even if something upstream is broken.
  • Rate limit the endpoint. This kind of extraction needs a lot of requests, and nothing here slowed that down.
  • Validate that the input actually looks like an email address before it reaches the directory layer. This is defence in depth, not a replacement for fixing the query, but it would have stopped this specific payload shape.

Defence in depth means layering independent protections so that one mistake does not sink you. Rate limiting means refusing or slowing requests once a client makes too many in a short time.

Variants to test

  • Forgot-password and account-lookup flows in front of a corporate directory. Send the always-true and always-false payloads and diff the responses; a positive result is two clearly different messages driven by whether the injected condition matched.
  • Any form field that might reach an LDAP filter, such as login, search or help desk lookup fields. A positive result is a response that changes when you send an always-true payload versus an always-false one.
  • Attribute discovery against a confirmed anchor. A positive result is a true/false answer for common Active Directory attribute names, telling you which attributes are populated and search-visible.
  • Integer-syntax attributes such as last logon time or password age.
  • Anchor uniqueness checks. Fire an attribute condition and its negation ANDed with the anchor; if both come back true, more than one entry matches and extraction through that anchor is unreliable.
  • Rate limiting and token handling.
From the original on clarkvoss.medium.com

The author's closing observation is that LDAP injection gets far less attention than SQL injection: scanners check for SQLi by default, fewer people look at whether a form field ends up in a directory query, and boolean oracle exploitation needs custom logic per target that most automated tools do not provide.

Glossary

  • Active Directory: Microsoft's directory service, a database of users, groups and computers inside a company.
  • Anchor: a value, such as a username, already proven to identify exactly one directory entry, used to pin further queries to that entry.
  • Antiforgery token: a random value placed in a form and checked on submission to prove the request came from the real page, a defence against CSRF.
  • Attribute: a named field on a directory entry, such as mail, title or telephoneNumber.
  • Binary search: finding a number by repeatedly halving the range, asking whether the value is above or below the middle.
  • Blind injection: an injection where you cannot see the raw query result, only whether the application's reply changed, so you infer data from yes/no answers.
  • Boolean oracle: a reliable yes/no signal from a system that lets you test one condition at a time.
  • Burp: a tool for intercepting, sending and comparing web requests, commonly used in security testing.
  • Cold-start discovery: finding a first valid identifier, such as a username, when you do not know any yet, usually by trying a wordlist.
  • Concurrency: running several tasks at the same time rather than one after another.
  • Cookie: a small piece of data a server asks your browser to store and send back, used to recognise your session.
  • CSRF (cross-site request forgery): an attack where another site causes your browser to submit a request you did not intend; antiforgery tokens are the usual defence.
  • Defence in depth: layering several independent protections so one failure does not expose everything.
  • Directory: a database of people and resources, with attributes and group memberships, used inside organisations.
  • Escaping: marking special characters in user input so they are treated as plain text rather than as query syntax.
  • Filter: the text of a directory query, made of conditions such as attribute equals value.
  • Greedy extraction: guessing a value one character at a time and keeping the first character that returns true, which can mix data from different entries.
  • Information disclosure: a weakness that reveals data the user was not meant to see, without directly granting access.
  • LDAP: the protocol and query language used to talk to a directory.
  • LDAP injection: inserting LDAP syntax through user input so that a directory query does what the attacker wants instead of what the program intended.
  • Lockout: a state where an account is temporarily blocked, usually after too many failed logins.
  • Password spray: trying one or two common passwords against many accounts, staying under lockout thresholds.
  • Phishing: a fake message designed to trick someone into clicking, logging in or handing over information.
  • Pretexting: inventing a believable story, often using real names and roles, to support a social engineering attack.
  • Rate limiting: restricting how many requests a client can make in a period of time.
  • Retry and backoff: trying a failed request again after a wait, and slowing down when the server struggles.
  • Session: a server's record of your ongoing interaction, usually tied to a cookie.
  • SQL injection: the same class of mistake as LDAP injection, but against a SQL database.
  • Substring matching: testing whether part of a value matches, as opposed to comparing whole numbers.
  • Unauthenticated: performed without logging in or holding any credentials.
  • userAccountControl: an Active Directory attribute holding a number that encodes an account's state, such as active or disabled.
  • Wildcard: a character, here *, that matches any text.

More by clarkvoss

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.