A login endpoint has no rate limit, and you see 50,000 failed logins from 3,000 IPs in an hour. What do you do?
IntermediateScenarioVulnerability Management and OWASP
Answer
Situation read → Credential stuffing with leaked password lists, spread across IPs to dodge simple limits (OWASP A07).
What I'd do →
- Turn on WAF rate-based rules and bot control at the edge (AWS WAF, Cloudflare), keyed on IP and on username.
- Add progressive delays and CAPTCHA after a few failures per account.
- Check for successful logins from the same IPs; force reset and revoke sessions for those accounts.
- Check passwords against breached lists at sign-up and change (HIBP k-anonymity API).
- Push MFA adoption, starting with high-value accounts.
Why → Per-IP limits fail against distributed attacks; per-account signals and MFA stop the actual takeover.
Interview tip → Distinguish brute force (one account, many passwords) from stuffing (many accounts, leaked pairs).
More on Vulnerability Management and OWASP
A pentest report shows SQL injection in a search endpoint of a Java service. How do you handle it end to end?BeginnerA scanner reports 4,000 open CVEs across 300 images. The team can fix maybe 100 a month. How do you prioritise?IntermediateA user reports they can see another customer's invoice by changing the ID in the URL. What do you do?BeginnerA webhook feature lets users enter a URL, and a pentester used it to read the cloud metadata endpoint. How do you fix it?AdvancedA team still runs Log4j 2.14 in an internal service and says it is not internet-facing. How do you respond?IntermediateA security review finds passwords stored as unsalted MD5 hashes. How do you migrate without forcing every user to reset?Advanced