Skip to content
Access control Write-up Beginner

How I Found an Unprotected Login Portal on a Federal VDP (and Why

A federal vulnerability disclosure programme exposed a login gateway whose form validated credentials against an LDAP directory with no rate limiting, CAPTCHA or lockout, so an attacker could brute force or spray real domain accounts. The same gateway also served its administrative console and admin API on a nonstandard port without authentication, and leaked an internal cluster hostname in error redirects.

Nicholas K70n0s510 Mullenski Follow

Published on infosecwriteups.com

So I want to walk you through this one because I think the lessons matter more than the finding itself. I’m under NDA on the actual program, vendor, and target — so I’ve swapped in documentation IPs (203.0.113.x) and generalized the product.

Nicholas K70n0s510 Mullenski, on infosecwriteups.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.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the gateway applied no throttling, lockout or CAPTCHA to either of its authentication endpoints, and its administrative interface was bound to an internet-facing nonstandard port without an authentication check.

Impact

An attacker could brute force or credential-stuff real directory accounts at scale, and could reach the administrative console and admin API routes that control the organisation's web filtering rules, though the tester stopped at thirty fictitious attempts and did not exploit real accounts.

What the attacker needed

Network access to in-scope IPs; no account needed to test login; admin console on nonstandard port

The fix

The gateway should enforce rate limiting, lockout or CAPTCHA on both authentication endpoints and require authentication before serving the admin console and its API; the text does not say whether this was fixed.

How it was found

  1. Request the login page and inspect the HTML to find the submit endpoint and parameter names.
  2. Send a single bogus login and check the redirect for a specific failure action code, confirming the backend validates credentials.
  3. Send around thirty login attempts with varying usernames and observe that every one is processed.
  4. Scan the in-scope hosts and browse the nonstandard port found, reaching the administrative console without logging in.
  5. Fetch the server configuration file and the bundled JavaScript to list admin API routes.
  6. Send unauthenticated requests to the admin API routes and to the separate JSON login endpoint, which also lacks rate limiting.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A login page normally slows you down or locks you out after a few wrong passwords, which makes guessing passwords impractical. Here the page checked every password against a real company directory but never slowed anyone down, so someone could try thousands of guesses. The same server also showed its management screens to anyone who visited a different port, which is like leaving the staff entrance unlocked.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Nicholas K70n0s510 Mullenski

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.