How I got a Hall of Fame at a UEFA Champions League Football Club.
After logging out, the browser's back button still showed the user's profile page with personal data, and the application allowed adding a new member even though the session was logged out. An attacker with a valid account could expose personal information and perform actions after logout.
infosecwriteups.com
Published on infosecwriteups.com
Firstly, let me tell you something about myself, I am deeply in love with football. I started playing when I was a small kid and have loved it ever since.
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 did not properly invalidate the session on logout and did not enforce authentication checks on the member addition action, while also failing to set cache-control headers to prevent the browser from showing cached pages.
Impact
An attacker with a valid account could view personal information after logout and add members without being authenticated, potentially leading to data exposure and unauthorised modifications.
What the attacker needed
A valid account; victim uses a shared or public device; attacker has physical access to the browser
The fix
The application should properly invalidate sessions on logout, enforce authentication checks on all actions, and set cache-control headers to prevent caching of sensitive pages.
How it was found
- Log in with a valid account and fill in profile details and add a member.
- Go to the profile endpoint and click the logout button.
- Wait for the page to load, then press the browser back button.
- Observe that the profile page still shows personal and member details.
- On the same page, add a new member while logged out.
- Log in again and confirm the new member was added.
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.
When you log out of a website, the site should forget who you are and stop showing your private information. Here, pressing the back button after logout still showed the profile page with personal details, and the site even let the user add a new member while logged out. This means the site did not properly check if the user was still logged in.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.