Profile shows incorrect account creation date
The account page displayed a session timer that reset to zero on every page refresh instead of showing the actual time since login. An attacker could not exploit this to gain access or cause harm; it was a functional design flaw.
Originally disclosed on HackerOne
- Fixed in 5 hours
- Paid in 5 hours
- Disclosed after 11 hours
Summary by the researcher
i discovered that there is security design issue in time function(coding issue). it was got reset (to 0) at after refreshing that page. Thanks @danrubins for quickly understand that issue and fixed very soon in dev environment.
The report
Hi Team,
I get to know that you are using showing joined time. it's contain design issue. I think that you show for once user login in to their account and it should show from howmany minutes that user logged in? but i can see here a design issue, is that whenever we refresh page https://app.legalrobot.com/account , it started from 0 seconds.
here i can see that function issue, that is reset to 0 after every page reset. (https://app.legalrobot.com/account). it should reset only at logout time.
Thanks, Vishal.
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 timer was implemented using a client-side variable that was reinitialised on each page load rather than being based on the stored login timestamp.
Impact
The issue affected the accuracy of the displayed login duration; the text does not describe any access impact.
What the attacker needed
A user account; access to the account page
The fix
The issue was fixed in the development environment.
How it was found
- Log in to the account.
- Open the account page.
- Refresh the page and observe the timer reset to zero.
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.
This report is about a timer on a user's account page that is supposed to show how long they have been logged in. Instead of counting up from the login time, it restarts from zero every time the page is reloaded. This is a coding mistake, not a security vulnerability that lets someone break 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.