The Power of Reading Documentation Leads to Low‑Hanging Fruit
The demo site's GET requests leaked cookies and JWT tokens, and the demo site was based on the owner account. An attacker could use these leaked credentials to send requests as the owner, such as inviting users to their own organisation.
medium.com
Published on medium.com
It started as a normal day. I had just finished hunting in my favorite program.
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 demo site was configured with the owner's account and exposed the owner's session cookies and JWT tokens in GET requests.
Impact
An attacker could use the leaked owner credentials to perform actions as the owner, such as inviting users to their own organisation.
What the attacker needed
Access to the demo site; ability to intercept HTTP requests
How it was found
- Open the demo site and observe that buttons are disabled.
- Use Burp Suite to inspect GET requests and notice cookies and JWT tokens are leaked.
- Realise the demo site is based on the owner account.
- Create your own organisation and capture the invite request.
- Change the host to the demo site, update the JWT and cookies, and send the request.
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 demo website was accidentally set up using the main owner's login details. When the page loaded, it sent the owner's secret login tokens (cookies and JWT) in the web requests, which anyone could see. The author used those tokens to act as the owner and invite someone to their own organisation.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.