Blog/Web Security

One API Request, Full Database Access: What We Found on a Travel Booking Platform

The client's automated tools reported nothing critical. Manual testing found an unauthenticated endpoint that gave full read and write access to every record in the database. Here is how it happened and what other companies can learn from it.

Ouroboros Security Team3 October 20265 min read

The client builds and runs the booking platform behind travel agency websites. Every day it handles customer bookings, personal details and partner data. Like many growing tech companies, they had no in-house security team and had never had the platform tested by an outside attacker. Their automated tools had reported nothing critical.

What We Found

The platform talks to its database through an internal API. That API is supposed to check who you are and what you're allowed to touch before answering. It didn't — at least not properly. By shaping requests in a specific way, we could skip the permission check entirely. No account, no password, no special access. Just a request from the internet.

Once past that check, the API would happily return data from any table in the database. Worse, it would also accept changes. An attacker could have read customer records, bookings and personal data; changed prices, bookings or account details; and created or modified user accounts. In short, full control of the data behind the business. This was rated Critical — the highest severity we use.

How We Handled It

A finding like this is stressful for the client, so how you deliver it matters as much as finding it. We stopped and reported right away, without digging through real customer data beyond what was needed to prove the issue. We wrote it up clearly: a full report with step-by-step proof, the business impact, and exact fixes, translated into Romanian so the whole team could use it. We followed responsible disclosure, sharing it privately and directly with the people who could fix it. We stayed available to answer the developers' questions while they worked on fixes, then retested once everything was in to confirm every issue was actually closed.

The Result

The client validated every finding, fixed all of them, and told us they appreciated how the process was handled. Then they did something we see as the best compliment possible: they asked us to test every major release of the platform going forward. Security is now part of how they ship, not an afterthought.

What Other Companies Can Learn

Internal APIs are still exposed APIs. If the internet can reach it, attackers will test it. "Only our frontend calls it" is not a security control. Authorization bugs are also invisible to scanners — the platform looked perfectly healthy to automated tools. It took a human asking "what if I'm not supposed to be here?" to find it. And test at every big release: new features bring new ways in, and a yearly test can miss a hole that ships the month after.

API SecurityAuthorizationCase StudyWeb Application Security

Want us to test your environment?

Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.

See our Web Application Pentesting service
Get in touch