[POC] Cross-Site Scripting on Garuda Indonesia Website
A stored cross-site scripting flaw existed in the 'update companion' form on the Garuda Indonesia website, where a registered user could inject a script into a personal information field. The text claims the injected script executed, but does not describe what an attacker could achieve beyond that.
Published on medium.com
Hello, This is my 3rd post about bug bounty. First of all, i want to say thank you to Garuda Indonesia and I’m sorry for my bad english.
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 companion form stored user input and rendered it back without proper output encoding or sanitisation.
What the attacker needed
A registered account; email activation; victim views the companion details
The fix
The report's timeline states the bug was mitigated, though it does not describe the fix.
How it was found
- Register a new member account on the website
- Fill in personal information and activate the account by email
- Complete the remaining personal information
- Inject an XSS script into the update companion form
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.
Cross-site scripting (XSS) is when a website takes something a user typed and later shows it to other people as part of the page without making it safe, so the browser runs it as code. Here a logged-in user could put a small script into a form field, and the site stored it and ran it. That lets an attacker run their own code in other users' browsers.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.