Skip to content
Business logic Disclosed report Beginner

Logout Bypass Vulnerability in Hiro.so

The report claims that after logging out of platform.hiro.so, pressing the browser back button still shows the previous authenticated session. An attacker with access to a shared device could therefore view the account as if the user had never logged out.

anonymous--1000 Follow

Originally disclosed on HackerOne

Bounty$150 Medium 5.0 View original
  • Paid in 29 hours
  • Disclosed after 7 months
1. Summary

A logout bypass vulnerability has been identified on platform.hiro.so, allowing users to regain access to their session after logging out simply by pressing the back button on the browser. This issue arises due to improper session invalidation and potential caching misconfigurations. If exploited, this could lead to unauthorized access to sensitive user data, account hijacking risks, and privacy violations.

---
2. Steps to Reproduce

1. Login to your account on https://platform.hiro.so.

2. Click on Logout to end the session.

3. After logging out, press the back button on the browser.

4. Instead of redirecting to the login page, the previous session remains accessible, allowing the user to navigate through the account as if they never logged out.

## Impact

3. Impact

Security Risks:

Unauthorized Account Access – If a user logs out on a shared or public device, the next person can press back and gain full access to the account.

Session Hijacking Risk – If an attacker tricks a user into logging out (via CSRF or social engineering), the victim may assume they are logged out while the attacker retains access.

Privacy Violation – Users expect a logout action to immediately revoke access, but due to improper handling, sensitive information remains accessible.

Real-World Scenarios:

Cyber Café Exploitation: A user logs into their Hiro account on a public computer, logs out, and walks away. The next person presses back and gains full access.

Shared Family Device Risk: A person logs out of their account, but a family member accidentally accesses their session by pressing back.

Attacker Trick: A malicious user could manipulate session handling by logging a victim out forcibly and restoring access later.

---

4. Root Cause Analysis

Possible Causes:

Session Not Destroyed Properly – If the backend does not terminate the session upon logout, the old session remains valid when accessed via the back button.

---
5. Conclusion

This logout bypass vulnerability poses a medium-security risk due to improper session handling. Attackers can exploit this flaw on shared devices, leading to unauthorized account access and privacy breaches. Implementing the recommended fixes will enhance security and ensure proper session termination upon logout.

Suggested Next Steps:
�
 Confirm session invalidation on logout.
�
 Apply secure caching policies.
�
 Redirect users when they press the back button.

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

Hiro runs a platform at platform.hiro.so where users sign in to their accounts. The feature under examination is the logout action: the control a user presses to end a session. Normally, after logout the session should be terminated and the user should no longer be able to reach authenticated pages. The report describes what happens instead when the browser's back button is used after logging out.

The weakness is classified as insufficient session expiration, with a medium severity and a CVSS score of 5.0. The report was disclosed on 31 October 2025 and a bounty of 150.00 USD was paid.

Setup

The only precondition stated is a user account on https://platform.hiro.so. No special role, tool, version or configuration is mentioned. The test is performed in a normal browser session: log in, log out, then use the browser's back button.

Finding it

The researcher observed that after logging out, pressing the browser's back button did not redirect to the login page. Instead the previous session remained accessible, and the account could be navigated as if the user had never logged out. That is the signal: a logout that appears to succeed but leaves the authenticated view reachable through history navigation.

The report attributes this to improper session invalidation and potential caching misconfigurations. In other words, the logout flow does not reliably revoke access, and cached or restored pages may still be served from the browser after the session should have ended.

Exploitation

Step 1: Log in

Log in to your account on https://platform.hiro.so.

This establishes the authenticated session that the rest of the test depends on.

Step 2: Log out

Click on Logout to end the session.

The interface presents this as a completed logout. The user expects the session to be terminated at this point.

Step 3: Press the back button

After logging out, press the back button on the browser.

This is the whole of the technique. No crafted request, payload or header is involved; the browser's own history navigation is used to return to the previously visited authenticated page.

Step 4: Observe the restored session

Instead of redirecting to the login page, the previous session remains accessible, allowing the user to navigate through the account as if they never logged out.

The result is that the account content is reachable after logout, which contradicts the expectation that logout revokes access.

Root cause

The report lists one possible cause explicitly: the session is not destroyed properly. If the backend does not terminate the session upon logout, the old session remains valid when accessed via the back button. The report also points to potential caching misconfigurations, meaning the browser may serve a cached authenticated page rather than fetching a fresh, unauthorised response.

Why the existing defences did not stop it is not established in the report. The report lists improper session invalidation and potential caching misconfigurations as possible causes, without confirming either. The report does not confirm either mechanism.

Impact

The report frames the issue as a medium-security risk due to improper session handling, and describes three security risks:

  1. Unauthorised account access. If a user logs out on a shared or public device, the next person can press back and gain full access to the account.
  2. Session hijacking risk. If an attacker tricks a user into logging out, for example via CSRF or social engineering, the victim may assume they are logged out while the attacker retains access.
  3. Privacy violation. Users expect a logout action to immediately revoke access, but due to improper handling, sensitive information remains accessible.

The report gives three real-world scenarios:

  • Cyber café exploitation. A user logs into their Hiro account on a public computer, logs out, and walks away. The next person presses back and gains full access.
  • Shared family device risk. A person logs out of their account, but a family member accidentally accesses their session by pressing back.
  • Attacker trick. A malicious user could manipulate session handling by logging a victim out forcibly and restoring access later.

All of these depend on the attacker having access to the same browser or device after the victim logs out, or on the victim being induced to log out while the attacker retains access. The report does not demonstrate a remote attacker gaining access without such access.

Fix

The report does not state what was changed. Its suggested next steps are:

  1. Confirm session invalidation on logout.
  2. Apply secure caching policies.
  3. Redirect users when they press the back button.

These are recommendations, not a record of a deployed fix.

Variants to test

  1. Back button after logout on other applications. Log in, log out, then press back. A positive result is an authenticated page rendered from history instead of a redirect to the login page.
  2. Forward button and history entries. After logging out, navigate forward through history as well as back. A positive result is any authenticated view reachable from the browser's history after logout.
  3. Multiple tabs. Log out in one tab and use back or a previously opened tab in another. A positive result is an authenticated view still reachable in the other tab.
  4. Server-side session validity. After logout, replay a request that requires authentication. A positive result is a successful authenticated response, which would show the session was not invalidated server-side rather than only cached client-side.
  5. Cache headers on authenticated pages. Inspect the response headers of authenticated pages. A positive result is the absence of directives that prevent caching, which would support the caching explanation in the report.

Hunting notes

The report describes a logout flow where the authenticated view remained reachable through browser history. The signal in the report is an authenticated view reachable through browser history after logout.

The researcher showed enough impact by describing concrete shared-device scenarios: a public computer or a shared family device where the next person presses back and reaches the account. The report does not describe any additional evidence, such as server-side session replay, beyond the back-button behaviour itself.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

What happened, in plain words

Hiro runs a website at platform.hiro.so where people sign in to their accounts. When you sign in, the site gives your browser a cookie or token so it can recognise you on later requests. When you click Logout, you expect that memory to be wiped and the site to lock you out. The report describes a case where that does not fully happen: after you log out, you can press the browser's back button and the site shows you your account again, as if you had never logged out.

The weakness is classified as insufficient session expiration, with a medium severity and a CVSS score of 5.0. The report was disclosed on 31 October 2025 and a bounty of 150.00 USD was paid.

To follow the rest, you need a few everyday ideas:

  • Session: a short-lived pass that the website gives your browser after you log in. It is like a wristband at an event: while you wear it, staff let you into the areas you paid for. Logging out should mean taking the wristband off and cutting it so it cannot be reused.
  • Cookie or token: the small piece of data your browser stores to carry that pass. It is the wristband itself, in digital form.
  • Backend: the server-side part of the website, the part you do not see, which checks your pass and decides what to show you.
  • Cache: a copy of a page your browser keeps so it can show it again quickly. It is like a photocopy of a document you were given; even after the original is taken away, the photocopy still exists.
  • API: a way for one piece of software to ask another for data or actions, like a waiter taking your order to the kitchen. The browser asks the backend through the API, and the backend answers.
  • CSRF (Cross-Site Request Forgery): a trick where another website makes your browser send a request to a site you are logged into, without you meaning to. It is like someone forging your signature on a form.
  • Social engineering: manipulating a person into doing something, such as clicking a link or logging out, by pretending to be trustworthy.

Setup

The only precondition stated is a user account on https://platform.hiro.so. No special role, tool, version or configuration is mentioned. The test is performed in a normal browser session: log in, log out, then use the browser's back button.

Finding it

The researcher observed that after logging out, pressing the browser's back button did not redirect to the login page. Instead the previous session remained accessible, and the account could be navigated as if the user had never logged out. That is the signal: a logout that appears to succeed but leaves the authenticated view reachable through history navigation.

The report attributes this to improper session invalidation and potential caching misconfigurations. In other words, the logout flow does not reliably revoke access, and cached or restored pages may still be served from the browser after the session should have ended.

Exploitation

Step 1: Log in

Log in to your account on https://platform.hiro.so.

This establishes the authenticated session that the rest of the test depends on. You are putting on the wristband.

Step 2: Log out

Click on Logout to end the session.

The interface presents this as a completed logout. The user expects the session to be terminated at this point. You are taking off the wristband and expecting it to be cut.

Step 3: Press the back button

After logging out, press the back button on the browser.

This is the whole of the technique. No crafted request, payload or header is involved; the browser's own history navigation is used to return to the previously visited authenticated page. It is like walking back into a room you were just asked to leave, simply by stepping backwards through the door you came in.

Step 4: Observe the restored session

Instead of redirecting to the login page, the previous session remains accessible, allowing the user to navigate through the account as if they never logged out.

The result is that the account content is reachable after logout, which contradicts the expectation that logout revokes access.

Root cause

The report lists one possible cause explicitly: the session is not destroyed properly. If the backend does not terminate the session upon logout, the old session remains valid when accessed via the back button. The report also points to potential caching misconfigurations, meaning the browser may serve a cached authenticated page rather than fetching a fresh, unauthorised response.

Why the existing defences did not stop it is not established in the report. The report lists improper session invalidation and potential caching misconfigurations as possible causes, without confirming either. The report does not confirm either mechanism.

Impact

The report frames the issue as a medium-security risk due to improper session handling, and describes three security risks:

  1. Unauthorised account access. If a user logs out on a shared or public device, the next person can press back and gain full access to the account.
  2. Session hijacking risk. If an attacker tricks a user into logging out, for example via CSRF or social engineering, the victim may assume they are logged out while the attacker retains access.
  3. Privacy violation. Users expect a logout action to immediately revoke access, but due to improper handling, sensitive information remains accessible.

The report gives three real-world scenarios:

  • Cyber café exploitation. A user logs into their Hiro account on a public computer, logs out, and walks away. The next person presses back and gains full access.
  • Shared family device risk. A person logs out of their account, but a family member accidentally accesses their session by pressing back.
  • Attacker trick. A malicious user could manipulate session handling by logging a victim out forcibly and restoring access later.

All of these depend on the attacker having access to the same browser or device after the victim logs out, or on the victim being induced to log out while the attacker retains access. The report does not demonstrate a remote attacker gaining access without such access.

Fix

The report does not state what was changed. Its suggested next steps are:

  1. Confirm session invalidation on logout.
  2. Apply secure caching policies.
  3. Redirect users when they press the back button.

These are recommendations, not a record of a deployed fix.

Variants to test

  1. Back button after logout on other applications. Log in, log out, then press back. A positive result is an authenticated page rendered from history instead of a redirect to the login page.
  2. Forward button and history entries. After logging out, navigate forward through history as well as back. A positive result is any authenticated view reachable from the browser's history after logout.
  3. Multiple tabs. Log out in one tab and use back or a previously opened tab in another. A positive result is an authenticated view still reachable in the other tab.
  4. Server-side session validity. After logout, replay a request that requires authentication. A positive result is a successful authenticated response, which would show the session was not invalidated server-side rather than only cached client-side.
  5. Cache headers on authenticated pages. Inspect the response headers of authenticated pages. A positive result is the absence of directives that prevent caching, which would support the caching explanation in the report.

Hunting notes

The report describes a logout flow where the authenticated view remained reachable through browser history. The signal in the report is an authenticated view reachable through browser history after logout.

The researcher showed enough impact by describing concrete shared-device scenarios: a public computer or a shared family device where the next person presses back and reaches the account. The report does not describe any additional evidence, such as server-side session replay, beyond the back-button behaviour itself.

Glossary

  • Session: a short-lived pass that a website gives your browser after you log in, so you do not have to re-enter your password on every page.
  • Backend: the server-side part of a website that checks your pass and decides what to show you.
  • API: a way for one piece of software to ask another for data or actions.
  • Session invalidation: the act of making a session pass no longer valid, so it cannot be used again.
  • Cache directives: instructions in a web response that tell the browser whether it may store a copy of the page and for how long.
  • CVSS score: a number from 0 to 10 that rates the severity of a security weakness.
  • Bounty: a payment made to a researcher who reports a security problem.
  • Disclosed: made public, as opposed to kept private.
  • Recon: the early phase of looking around a system to find signals of possible weaknesses.
  • Authenticated page: a page that is only shown to someone who is logged in.
  • History navigation: using the browser's back and forward buttons to move through pages you have already visited.

More from Hiro

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.