Bypass local authentication (PIN code)
The app's PIN lock was timed using the device's system clock, so an attacker with physical access could roll the clock back to a moment before the lock was due and reopen the app unlocked. This gave full access to the user's account with their privileges.
- Triaged in 2 hours
- Fixed in 14 months
- Disclosed after 18 months
Summary by the program
Summary: An attacker with physical access to a mobile device can bypass local authentication (PIN code).
Description: When you set the PIN code to enter the application, the blocking occurs after the time set in the settings after the activity is closed. System time is used as a starting point. It is possible to bypass PIN by setting the system time back to a value when the application has not yet been blocked.
Releases Affected:
- 4.14.1.22788 iOS/Android
Steps To Reproduce (from initial installation to vulnerability):
- Enable Screen Lock and set lock time (e.g. 1 min)
- Close chat activity, mark the current time (e.g. 00:02), wait for blocking.
- Open the app and make sure it is blocked, close the app.
- Change the system time to a value when the lock has not yet been triggered (e.g. 00:01 or 00:02 )
- Start the app, it should be unblocked.
Suggested mitigation
- Use a separate timer to count down time to lock instead of the system time
Impact
Full access to user account with his privilegies.
Fixed in
We have fix this issue in the latest version of mobile app. You can download it in apple store or play store
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the lock countdown was derived from the device's system time rather than a timer the app controls, so changing the clock reset the perceived elapsed time.
Impact
Anyone with the unlocked phone in hand could get full access to the user's account with the user's privileges, though the attack needs physical possession of the device.
What the attacker needed
Physical access to the unlocked device; screen lock enabled in the app
The fix
The lock countdown should be tracked with the app's own timer rather than the device clock, and the report states the issue was fixed in the latest app version.
How it was found
- Turn on the screen lock and set a short lock delay.
- Close the chat screen, note the current time, and wait until the app locks.
- Reopen the app, confirm it is locked, then close it.
- Set the device clock back to a time before the lock was due.
- Launch the app again and it opens without asking for the PIN.
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 report has not been written yet. The Original tab links to the source.
Many apps ask for a PIN when you come back after a while, and they decide 'a while' by looking at the phone's clock. Here the app trusted that clock completely, so anyone holding the phone could change the date and time in the phone settings to make the app think no time had passed. The app then skipped the PIN screen and opened straight 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.