Skip to content
Account takeover Write-up Beginner

Cracking the Lock: How I Discovered Amazon KDP’s Missing Accoun

The KDP login endpoint did not enforce account lockout or server-side rate limiting, so repeated password attempts were processed even when a CAPTCHA appeared. An attacker could automate credential guessing and potentially take over accounts, including linked Amazon accounts.

Mandar Satam Follow

Published on medium.com

While performing responsible research on Amazon’s Kindle Direct Publishing (KDP) platform, I uncovered a critical authentication flaw that allowed unlimited password attempts without any account lockout. Despite having CAPTCHA and client-side encryption in place, the login endpoint at kdp.amazon.com failed to enforce…

Mandar Satam, on 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.

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 server did not enforce account lockout or rate limiting on failed login attempts, and CAPTCHA validation was not enforced server-side.

Impact

An attacker could continuously guess passwords and potentially take over KDP accounts and linked Amazon accounts, though the report notes triage found the tested request volume insufficient to demonstrate practical exploitation.

What the attacker needed

A target account; automation tool such as Playwright; no lockout or rate limit on login

The fix

The issue should be fixed by enforcing server-side account lockout or temporary suspension after repeated failures, validating CAPTCHA on the server, and adding rate limiting and monitoring.

How it was found

  1. Launch an automated login sequence with Playwright against the KDP login page.
  2. Submit multiple invalid passwords for the same account using the script.
  3. Observe that a CAPTCHA is shown but the backend still accepts password submissions.
  4. After enough iterations, a successful login is achieved without any account lockout.
  5. The server keeps accepting new attempts regardless of earlier failures.

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.

When you log in, a website should stop you after a few wrong passwords so nobody can keep guessing. Here, the site showed a puzzle (CAPTCHA) but still checked every guess, so a script could try many passwords. If a guess was right, the attacker got into the account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.