Skip to content
Business logic Disclosed report Beginner

Insufficient Session Expiration

vibhushan Follow

Originally disclosed on HackerOne

  • Disclosed after 17 hours

NOTE! Thanks for submitting a report! Please replace all the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to verify and then potentially issue a bounty, so be sure to take your time filling out the report!

Name of Vulnerability: Insufficient Session Expiration Areas affected: https://www.urbancompany.com/ User Details: Name-Vibhushan & Number-██████ Summary: Insufficient Session Expiration is when a website permits an attacker to reuse old session credentials or session IDs for authorization.

Description: Session timeout represents the event occurring when a user does not perform any action on a website during an interval (defined by a web server). The event, on the server-side, changes the status of the user session to ‘invalid’ (ie. “not used anymore”) and instructs the webserver to destroy it (deleting all data contained in it).

Steps To Reproduce:

(Add details for how we can reproduce the issue through manual testing only)

1.Login to your UrbanCompany account using your mobile number with the OTP received. 2. After login export the cookie details using a browser extension called Cookie editor. 3. Now log out of your account and delete the cookie details from the login page. 4. After deletion, paste the cookie details which we copied earlier and import them. 5. Now when the page is refreshed, it automatically logs in without the user credential.

Supporting Material/References:

  • List any additional material (e.g. screenshots, logs, etc.)

I have attached the video POC for your reference.

Impact

The attacker can reuse the same cookies to login again without the user credentials.

The original report as published on HackerOne, by vibhushan. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A low-severity business logic bug in www.urbancompany.com. HackerOne made it public on 23 June 2021.

About Business logic

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

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.

More from Urban Company

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.