Android pin bypass with rate limiting
The Android app's PIN lock only allowed three attempts before logging the user out, but the attempt counter was reset whenever the app was closed and reopened. An attacker with the unlocked device could therefore keep guessing the PIN indefinitely by relaunching the main activity.
Bugbounty
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 failed-attempt counter was kept only in memory for the current app session, so restarting the activity cleared it.
Impact
The PIN lock's rate limiting could be bypassed, allowing unlimited PIN guesses on a device the attacker already has in hand.
What the attacker needed
Physical access to the unlocked device; adb access or manual app relaunch
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 PIN lock is meant to stop someone guessing the code by limiting how many tries they get. Here the app forgot how many wrong tries had happened once it was closed and reopened, so the limit could be reset again and again. Someone holding the phone could keep guessing until they got in.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.