Skip to content
Info disclosure Write-up Beginner

Bug Hunting Story: You Won’t Believe What I Found Hidden in a R

A URL parameter called RetToken contained Base64-encoded booking and payment metadata, including order and transaction identifiers and amounts. Anyone who saw such a link could decode it and read that sensitive data, though the author states it did not allow unauthorised booking access.

Elie Attieh Follow

Published on infosecwriteups.com

During a recent passive reconnaissance assessment on a leading travel booking platform (redacted for privacy), I stumbled upon a discovery that highlights the importance of data handling practices in URLs. Sensitive booking and payment metadata was being exposed through a parameter called RetToken.

Elie Attieh, on infosecwriteups.com

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 sensitive booking and payment metadata was placed directly in a URL parameter as reversible Base64 rather than kept server-side or replaced with an opaque reference.

Impact

Sensitive booking and payment metadata could leak through referrer headers, browser history, shared links and server logs, and could aid social engineering or phishing; the author notes no IDOR was observed and the report was rated informative.

What the attacker needed

Access to a URL containing RetToken; a Base64 decoder

The fix

Sensitive data should be kept out of URLs, using POST bodies or server-side sessions, and encoded values should be replaced with opaque references or encrypted tokens.

How it was found

  1. Find or browse a URL containing the RetToken parameter.
  2. Extract the RetToken value from the URL.
  3. Decode the value with a Base64 decoder.
  4. Read the decoded booking and payment metadata.

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.

Some web links carry extra data after a question mark, and here one of those values was simply an encoded bundle of booking and payment details. Encoding is not encryption: anyone can decode it with a free tool and read the contents. The author says this leaked private information but did not let someone change or take over a booking.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Elie Attieh

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.