Planes, Ferries and Automobiles – How I Hacked Free Travel Across Iceland
The airline's booking system calculated prices on the client side and trusted the result on the server, allowing an attacker to manipulate the price to zero or negative and receive a refund. The bus app relied on visual ticket verification, which could be spoofed with a proxy to show unlimited valid tickets. The ferry booking engine exposed hidden fare types that could be injected to obtain a free ticket.
debug.is
Published on debug.is
This is a story of how I exploited local travel companies’ IT systems to score free airline tickets, bus passes and ferry rides. It all started out with an accidental discovery of a bug in an airline’s booking system and just spiraled from there.
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
The applications performed critical calculations and validations on the client side and did not verify them on the server.
Impact
An attacker could obtain free or discounted travel tickets and potentially receive money back to their credit card.
What the attacker needed
Access to the booking website; ability to intercept app traffic; ability to modify requests
The fix
The airline's fix was only obfuscation and did not address the real issue; the proper fix is to perform price calculations and validation on the server side.
How it was found
- Open the airline website and select a package holiday.
- Use browser dev tools to remove the disabled attribute from the booking fee checkbox.
- Change the data-price attribute of a bag to a negative value.
- Complete the booking with the manipulated price.
- For the bus app, set up mitmproxy to intercept traffic.
- Create rules to make the app believe there are 999 valid tickets.
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.
In these bugs, the websites and apps trusted information that users could change. For example, the airline let the browser decide the price, and the server accepted it without checking. This meant someone could change the price to zero or negative and get free or discounted travel.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.