Time Is a Bug: Exploiting Trials Without Touching a Single Tool
The application trusted the client's system clock to determine whether a free trial had expired. An attacker could roll back their computer's date to regain full access after the trial ended.
Published on strangerwhite.medium.com
Welcome back to another episode of “Bugs Without Tools” — where I break things with nothing but curiosity, a browser, and sometimes… a clock.
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 application used the client's local system time to determine trial expiry instead of server-side time.
Impact
Users could stay in free trial mode indefinitely, potentially causing revenue loss and affecting analytics accuracy.
What the attacker needed
A free account; ability to change system clock
The fix
The application should use server time, not the user's local time, for trial tracking and store trial start/end dates securely.
How it was found
- Create an account and start the 30-day free trial.
- Wait until the trial expires and you see 'Trial expired. Please upgrade.'
- Change your computer's date to an earlier date (e.g., the 1st of the month).
- Refresh the website tab.
- The trial is restored and you have full access again.
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 free trial is a period where you can use software without paying. This app checked if your trial was over by looking at your computer's clock, which you can change. So by setting your clock back, you could make the app think your trial was still active.
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.