Executive summary
What we were asked to do
An airline asked us to sweep its domains for subdomain takeover — the class of bug where a DNS record still points at a cloud resource that has been deleted, letting anyone re-register that resource and serve content from the airline's own domain.
The brief was narrow and that is worth noting, because the most important finding had nothing to do with the brief.
Principal findings
We found three genuinely claimable subdomain takeovers, where a CDN distribution was still live and still serving from a bucket whose name matched the subdomain exactly — anyone could create that bucket in minutes and serve their own content through the airline's own CDN with the airline's own certificate. But the headline is something else: one subdomain was already compromised and serving gambling content to the public. Not a theoretical takeover, not a dangling record — an active content injection on a live airline domain, at the time of assessment. We also found thirteen other confirmed weaknesses across the estate, and the pattern across all of them was consistent: the CDN and DNS layer was well maintained, while the application layer, the third-party integrations, and the forgotten subdomains were not.
What this means in plain terms
Three things a board should take from this.
- One of your subdomains is serving content that is not yours, right now. That is not a vulnerability report, it is an incident. It needs an incident response, not a remediation ticket. Someone should establish how long it has been live, who has seen it, and whether the server behind it serves anything else.
- Subdomain takeover is a supply-chain problem, not a DNS problem. The three claimable takeovers worked because the CDN distribution stayed up after the origin was deleted. A DNS-only scanner reports them as healthy because the record resolves. This is the single most common false negative in takeover testing, and our own parallel workers disagreed about it — one team found zero, another found five. That disagreement is in the report because it is instructive.
- The enterprise edge is doing real work, and everything behind it is assuming it always will. The Azure Front Door, Akamai, Adobe and Imperva layers were correctly provisioned across hundreds of hostnames. Meanwhile a single exposed feature-flag key on one subdomain, a wildcard cross-origin policy on a third-party API, and a debug flag left on in a production single-page app all weaken that edge from the inside.
The five things that need a decision, not a patch
| # | What is wrong | Business impact | Who decides |
|---|---|---|---|
| 1 | A live subdomain is serving third-party gambling content | This is an active compromise, not a latent risk. It requires an incident determination: how long live, what the host serves, whether the server hosts anything else, and whether disclosure is needed. | Executive + legal + security |
| 2 | Three subdomains can be claimed by anyone in minutes | The CDN stays up after the origin is deleted, so the record looks healthy to every DNS-level scanner. Reclaiming one gives an attacker JS execution on a trusted airline origin — which is the precondition for the SSO and bidding chains in this report. | Platform + security operations |
| 3 | A third-party travel API trusts every origin with credentials | A wildcard cross-origin policy on a partner's booking API means any website can drive it on a visitor's behalf. The partner relationship constrains the fix: it may need to be contractual. | Vendor management + architecture |
| 4 | A production SPA ships with a debug flag on | The debug object exposes internal API endpoints, session structure, and bidding validation rules to any visitor. That is reconnaissance handed over for free, and it weakens every other control in that application. | Application engineering |
| 5 | The internal-facing regional zone was never in anyone's sweep | The secondary regional zone carries 272 subdomains including staging environments with verbose errors and default-credential surfaces. Nobody was monitoring it. | IT operations + regional IT |
What we did not get
We did not obtain administrative access to any core system. We did not take over the identity flow, complete a bidding manipulation, exfiltrate customer data, or move laterally. The attack chains in section 3.7 are modelled paths built from confirmed findings — they are engineering judgements about what the findings enable in combination, not executed attacks, and they are labelled as such throughout.
One chain does begin from a genuinely exploitable primitive: the claimable S3 takeovers are real and would grant the attacker-controlled origin those chains require. We documented that rather than claiming it.
Engagement outcome
An authorized security assessment of an airline's public domains identified an active content injection on one subdomain, three claimable subdomain takeovers, and a range of application-layer weaknesses across a 449-hostname estate. The organisation's enterprise CDN and DNS infrastructure was well maintained, and no core system was compromised during testing. All findings were disclosed under the engagement's rules of engagement and are being remediated.
1. The engagement in numbers
| Metric | Value |
|---|---|
| Active days | 3, across two clusters |
| Active machine time | ~4.4 hours of dense execution |
| Total Swarm Size | 22 |
| Root workstreams | 4 |
| Distinct agent roles | 5 |
| Tool calls executed | 536 |
| Penetration-testing platform commands | 208 |
| Shell commands | 190 |
| Background job waits | 44 |
| Messages exchanged | 455 |
| Hostnames scanned | 449 |
| CNAME records discovered | 183 |
| Nuclei takeover templates run | 149 across 177 targets |
| Findings confirmed in the initial survey | 13 |
| Confirmed takeovers | 3 |
| Active compromises found | 1 |
| Modelled attack chains | 12 |
| Core system access | None |
The scale here is worth calibrating honestly. This was a focused engagement, not an exhaustive one — four and a half hours of machine time against a 449-hostname estate. It produced a disproportionate result because subdomain takeover is a high-yield class when you test it correctly, and because an active compromise was sitting in plain sight.
Agent topology
| Role | Sessions | Responsibility |
|---|---|---|
| Orchestrator | 4 | Scope, tasking, merge |
| Recon | 10 | DNS sweeps, CNAME analysis, HTTP fingerprinting, subdomain expansion |
| Exploit | 3 | Takeover verification, injection testing, backend probing |
| Advisor | 4 | Independent chain analysis, gap review |
| Vulnerability analyst | 1 | API collection-surface assessment |
The advisor role deserves a note. Four independent reviewers were given the same confirmed findings and asked to construct attack chains without seeing each other's work. That produced twelve modelled chains and, more usefully, a list of what the assessment had missed — which is where three of the recommendations in this report originated.
Wave timeline
| Wave | Focus | Outcome |
|---|---|---|
| 1 | Initial recon: 108 engagement targets, live mapping, advisor gap review | 13 confirmed findings; gap list produced |
| 2 | Independent chain analysis across four reviewers | 12 modelled chains, missed-vector list |
| 3 | Subdomain takeover sweep: two zones, five parallel workers | 449 hostnames, 183 CNAMEs, 3 takeovers, 7 candidates |
| 4 | Deep dives: third-party backend, booking API, injection bypass | Takeover verification and backend surface mapping |
2. What held
Reporting the defenses first, because the estate's edge is genuinely well run and that shapes the analysis.
Enterprise CDN provisioning was correct and current. Of 183 discovered CNAME records, the overwhelming majority resolved to actively provisioned services: Azure Front Door across 22 hosts, Adobe Experience Manager Cloud, Akamai, Imperva, and several CloudFront distributions. These are maintained integrations, not abandoned ones.
Cloudflare's custom-hostname validation closed a real takeover candidate. One dangling record pointed at Cloudflare's own infrastructure zone. An external attacker cannot claim a matching hostname there because Cloudflare requires TXT-based ownership validation before binding. That is a control working exactly as designed — the finding was recorded as a DNS hygiene defect, not a takeover.
Randomised nameserver delegation closed another candidate. A regional-zone record delegated to randomised nameservers is not practically claimable, because the attacker cannot guess the delegation target.
The edge WAF held against injection. A reflected injection point in the collection application was confirmed present but locked inside a JavaScript string context, with the WAF blocking angle brackets, script payloads, and encoded quotes. We attempted bypasses and did not succeed. The finding is recorded with its true constraint rather than inflated.
Nuclei's takeover template set found nothing across 177 targets and 149 templates — and that result is itself instructive (see section 3.2).
Two things are worth crediting plainly. The DNS hygiene across the estate was better than most comparable organisations — 183 CNAMEs with only three genuinely claimable is a good ratio. And the Cloudflare and randomised-nameserver controls are non-obvious protections that a less careful organisation would not have in place.
3. The findings that mattered
How the estate was mapped
3.1 A subdomain already serving third-party contentCritical, active compromise
In plain terms. One subdomain was live and serving third-party gambling content. Not a dangling record, not a theoretical takeover — an actual page, publicly reachable, on an airline's own domain.
The server was hosting it from a specific address, and the injected content referenced a third-party commerce CDN and a redirect target. Whether the compromise was at the server level or through DNS depends on the record's history, which is the first thing incident response should establish.
What. A subdomain on the primary corporate domain returned a page containing gambling content unrelated to the airline. The content referenced an external commerce platform and a redirect to a third-party destination. The host resolved to a dedicated address, and virtual-host discovery on that address was the recommended next step to establish whether other compromised content shares it.
How we found it. By probing every hostname in the engagement list and reading the responses rather than checking status codes.
That distinction is the whole finding. A status-code sweep records this host as 200 OK and moves on. It is up, it responds, it is healthy by every automated measure. You only find it by looking at what it actually serves. It surfaced during the initial reconnaissance wave, before the takeover sweep even started, and the advisor review immediately re-prioritised it above every other finding in the engagement.
This is also why the advisor role earned its place. The advisor's opening recommendation was that the confirmed compromise should be the first priority, ahead of the technical findings the exploit workers were pursuing — because an active compromise is an incident, not a bug.
Root cause. Undetermined at assessment time, and deliberately not asserted. Two candidates: server-level content injection, or a DNS record repointed at attacker infrastructure. The evidence distinguishes them by checking record history against the host's other virtual hosts, which is an incident-response task rather than an assessment one.
Impact. An official airline domain was serving content that has nothing to do with the airline. Three consequences: reputational, because visitors to a trusted domain see gambling content; security, because whatever mechanism put it there may affect other properties on the same host; and regulatory, because the host's presence on the airline's domain implies a control failure someone may need to disclose.
Fix. Treat as an incident. Capture evidence, establish duration from access logs and DNS history, enumerate co-hosted properties on the same address, determine injection vector, then remediate.
Kill chain. Already at objective — this chain completed before we arrived.
3.2 Three claimable subdomain takeovers hidden behind live CDNsCritical
In plain terms. Three subdomains had CDN distributions still running and still configured to serve from a storage bucket that had been deleted. The bucket names matched the subdomain names exactly.
Anyone could create a bucket with that name in minutes, upload content, and it would be served through the airline's own CDN, on the airline's own domain, with the airline's own certificate. No DNS change required. No certificate warning. Nothing for the organisation to notice until the content appeared.
What. Three subdomains served a storage-layer "no such bucket" error through live CDN distributions — one CloudFront, and Adobe edge origins. The bucket names were derivable from the subdomain names, and bucket creation in each region was available.
How we found it. This is where the engagement's methodology lesson lives, and it is worth following closely.
Five workers swept in parallel. Four reported zero takeovers. One reported five. The disagreement was not a data error — it was a methodology difference, and the correct answer was in the minority report.
- The CNAME-checking workers verified that the record resolved. Every one of these records does resolve, because the CDN distribution is up. Marked active. False negative.
- The template-based scanner matched provider error signatures against its template set. The S3 error body being served through a CDN did not match the templates' expected signature for a direct S3 origin. Zero matches. False negative.
- The fingerprinting worker actually read what the CDN returned, noticed a storage error coming from a live distribution, and derived the bucket name from the subdomain. Five candidates, three confirmed.
The general lesson: a takeover where the distribution stays alive and the origin disappears is invisible to DNS-level and template-level testing. You have to look at the response body and reason about what is serving it.
Impact. Reclaiming any one of these grants an attacker-controlled JavaScript payload served from a trusted airline origin. That is not merely defacement — it is the precondition for every cross-origin and postMessage chain in section 3.7, because the trust those mechanisms confer is anchored to the domain, not to the content.
Fix. Remove the orphaned distribution configurations, or re-provision the origin buckets. Then add response-body inspection to the takeover monitoring, because nothing in the current tooling catches this class.
Kill chain. The chain stops at delivery because we did not claim the buckets.
3.3 A wildcard cross-origin policy on a partner booking APIHigh
In plain terms. A third-party travel-technology API that the airline integrates accepted requests from any origin and allowed credentials. Combined with an injection primitive and a trusted same-domain origin from the takeovers, that becomes a path to token theft from a real user's session.
What. The partner API responded with a wildcard origin and credentialed-request allowance. The airline's client-side code does not contain the partner's secret credentials — that was checked — so the exposure is the CORS policy rather than a leaked key.
How we found it. Header inspection across the integration surface, then reading the client bundles to see whether credentials were also exposed. The negative on the bundle search is what kept the severity at High rather than Critical: the CORS policy alone is a trust-model defect, but with a leaked partner secret it would have been a direct token-minting path.
Root cause. A partner integration configured permissively by default and never tightened.
Impact. Any website a traveller visits can make credentialed calls to the booking API on that traveller's behalf. Bounded by whatever session context the API accepts from a cross-origin caller.
Fix. Replace the wildcard with an explicit allowlist. This is a partner-side change, which makes it a vendor-management item as much as an engineering one.
3.4 A production single-page app shipping with debug mode enabledHigh
In plain terms. The collection application left a debug object switched on in production. That object exposes internal API endpoints, session and token structure, and the validation rules the bidding flow uses.
None of that is a vulnerability on its own. All of it is reconnaissance handed over for free — and it is the reconnaissance that makes the chains in section 3.7 plausible, because it removes the guessing step.
What. A client-side debug namespace was populated in the production build, exposing API base configuration, session structure, and business-logic validation parameters.
How we found it. Reading the page source rather than only the rendered output. The object was present in the delivered markup and script.
Root cause. A build configuration that did not strip debug configuration for production.
Impact. Everything an attacker would otherwise spend hours or days establishing about the application's internals, delivered to any visitor.
Fix. Strip debug configuration in production builds, and assert its absence in CI.
3.5 A postMessage identity handler accepting parsed JSONHigh
In plain terms. The collection application accepts sign-on data through a browser messaging API and parses it as JSON — DoSSOLogon(JSON.parse(event.data)). Whether that is exploitable depends entirely on whether the handler validates the sender's origin, and the debug flag from 3.4 suggests the hardening posture was lax.
This is the load-bearing primitive in the highest-value chain in the report, because it is the thing that converts "attacker JavaScript on some subdomain" into "attacker session in the collection application".
What. A global handler on the collection application processes a JSON payload from a cross-window message and passes it to a sign-on routine. Origin validation was not confirmed either way during the assessment.
How we found it. Reading the application bundle. The handler is identifiable by name, and its call shape shows the full payload is controlled by the sender.
We did not confirm exploitability, and that is stated deliberately. Confirming it requires sending a crafted message from a controlled origin and observing whether the session changes — which needs the claimable takeover in 3.2 to be exercised, and claiming a bucket was outside what we executed.
Root cause. An architectural pattern that trusts the message channel, combined with an unresolved origin check.
Impact. If the origin check is absent, an attacker with any trusted-origin foothold can forge a sign-on into the collection application. Bounded by needing that foothold — which the three takeovers in 3.2 would supply.
Fix. Validate event.origin against an explicit allowlist and verify the message schema rather than parsing arbitrary JSON.
3.6 A feature-flag key exposed on a consumer subdomainMedium
In plain terms. One of the cruise subdomains shipped a feature-flagging platform's client key in its bundle. That key lets anyone query the project's flag evaluations.
Feature flags are not usually thought of as security controls, but they frequently gate exactly that: captcha enabling, rate limits, debug modes, and experimental auth paths. If the airline runs one project across its properties — which is the common enterprise arrangement — that key reads the configuration of every property.
What. A third-party feature-flagging client key was present in a public bundle on a cruise property.
How we found it. Bundle extraction during reconnaissance, as part of the asset sweep the advisor review had flagged as missing from the initial pass.
Root cause. Client-side flags are designed to be public for identification; the scope of what the key exposes was not reviewed.
Impact. Read access to the feature-flag configuration of the estate or property, depending on project scope. Enables targeting of whichever property has the weakest flag configuration.
Fix. Confirm the key's project scope with the vendor. Move security-relevant flags server-side.
3.7 Modelled attack chainsengineering judgement, not executed
Four independent reviewers built twelve chains from the confirmed findings. They are reported because they are the most useful artefact of the engagement for a technical reader, and because the client asked for exactly this. They are also clearly labelled: these are modelled paths, not executed attacks, and the single genuinely exploitable primitive beneath them is the bucket takeover in 3.2.
The two chains worth summarising:
Chain A — trusted origin to forged session. Claim a dangling bucket (3.2), which puts attacker JavaScript on a trusted same-domain origin with the airline's certificate. That origin opens the collection application in a window and sends a crafted JSON payload to the identity handler (3.5). If origin validation is absent, the application processes it as a legitimate sign-on. The debug flag (3.4) supplies the exact payload shape. The wildcard CORS policy (3.3) makes credential-bearing cross-origin calls from that origin viable. Every step is a confirmed finding; the composition is not executed.
Chain B — backend bypass to diagnostics. The geo-gate in front of one booking backend can be bypassed by addressing the backend directly. That backend exposes an administration surface and diagnostic endpoints, and preliminary testing showed no lockout across five authentication attempts. Diagnostic endpoints of that class (error logs, trace viewers) have historically been a rich source of credentials. This chain was modelled on recon evidence and not pursued to completion.
Also confirmed
| Finding | Severity | Note |
|---|---|---|
| Reflected injection in collection application | Medium | Confirmed present, locked in a JS string context, WAF blocked all bypasses attempted |
| Enumeration of listing and category identifiers | Medium | Sequential identifiers readable without authentication |
| Public bucket on a partner aviation platform | Medium | Listable contents including SPA configuration |
| Careers portal vacancy identifier enumeration | Medium | Sequential IDs, applicant-data exposure unconfirmed |
| Telemetry instrumentation key exposed | Low | Instrumentation keys are not API keys; misconfiguration risk only |
| Staging hosts with verbose error output | Low | Regional zone, diagnostic detail in responses |
| HTTPS downgrade on documentation root | Low | One host redirects to plaintext |
| Server version disclosure | Low | Footer banners on error pages |
| Missing security headers | Low | Several hosts |
| DNS hygiene defects | Low | Two non-claimable delegation anomalies |
| Stale email tracking domain records | Low | Not currently functional |
| Seven takeover candidates | Monitoring | Deprovisioned SaaS and stale origins — not claimable today |
4. Kill chain summary
| Chain | Reached | Terminated at | Executed |
|---|---|---|---|
| Active compromise | Stage 7 (objective) | Found live | By an unknown third party |
| Bucket takeover | Stage 2 (weaponize) | No claim made | No |
| Chain A (session forge) | Stage 2 (model) | Not attempted | No |
| Chain B (backend) | Stage 2 (model) | Not attempted | No |
| Cloudflare record | Stage 1 (recon) | Provider validation | No |
| Randomised NS | Stage 1 (recon) | Delegation unguessable | No |
| Injection bypass | Stage 3 (delivery) | Edge WAF | No |
5. What the shape of this engagement teaches
A live compromise looks healthy to every automated check. The most serious finding in this engagement returned 200 OK. It resolved, it responded, it was fast. The only way to find it was to read what it served. Any monitoring that does not compare rendered content against an expected baseline will miss this class indefinitely.
Takeover testing that checks DNS is testing the wrong layer. Four of five parallel workers missed three claimable takeovers. They missed them because the record resolved — which it does, because the CDN is alive. The origin is what was deleted. The general lesson: when a CDN, edge function, or serverless distribution sits between a record and its origin, the DNS layer tells you nothing about the origin's state.
Parallel workers disagreeing is a feature if you reconcile it. The five-worker sweep produced a 0-versus-5 split. The value was not the majority answer — it was that the disagreement forced a methodology comparison that identified a systematic false-negative class. A single worker would have reported zero and been wrong.
Advisors earn their place by re-prioritising. The independent reviewers did not find new vulnerabilities. They found that the engagement's technical findings were ranked below an active incident, and they produced the gap list that generated three recommendations. Both are judgement contributions, not discovery ones.
A narrow brief does not bound what you find. The scope was subdomain takeover. The most serious finding was content injection found during reconnaissance, and the highest-value chains came from application-layer primitives that had nothing to do with DNS.
Recommended sequence
| Priority | Action | Why first | Effort |
|---|---|---|---|
| 1 | Open an incident on the compromised subdomain | Already live; establish duration, co-hosted properties, injection vector | Immediate |
| 2 | Remove orphaned CDN distributions or re-provision their origins | Three claimable takeovers, minutes to close | Very low |
| 3 | Add response-body inspection to takeover monitoring | The class is invisible to current tooling; without this it recurs | Low |
| 4 | Validate origin in the postMessage identity handler | Load-bearing in the highest-value chain | Low |
| 5 | Strip debug configuration from production builds; assert in CI | Hands an attacker the application's internals | Very low |
| 6 | Replace the partner API wildcard CORS with an allowlist | Vendor-side change; needs a relationship conversation | Vendor |
| 7 | Confirm the feature-flag key's project scope; move security flags server-side | Scope determines blast radius | Low |
| 8 | Bring the regional zone under monitoring | 272 unmonitored subdomains including staging | Medium |
| 9 | Review the seven takeover candidates on a schedule | Deprovisioned SaaS can become claimable | Monitor |
Notices
Authorization
This was an authorized security assessment conducted under agreed rules of engagement with the system owner, in the form of a bug-bounty scope arrangement. All testing was confined to in-scope hostnames on the two named domains.
No bucket was claimed, no content was uploaded, no account was created, and no data was exfiltrated. Where a confirmed primitive would have required claiming third-party infrastructure or mutating production state — notably the three claimable takeovers — the assessment documented the capability and stopped. Attack chains in section 3.7 are explicitly modelled paths, not executed attacks.
Redaction
Every hostname, IP address, credential, identifier, and property name in this document has been replaced with a placeholder or generalised. The organisation is not identified, and no detail here would allow a reader to determine the client, locate the systems, or reproduce the access.
What was removed:
- All hostnames, subdomains, and both zone names
- All IP addresses, ASNs, and network ranges
- All credential and key values, including feature-flag keys and telemetry instrumentation keys
- Organisation and brand identifiers, including the airline's name and its regional domain
- Third-party platform and vendor names specific to the client's integrations
- The compromised subdomain's name and the third-party destinations its content referenced
- Personal names and individual identifying details
- Exact calendar dates and clock times — replaced with relative day and wave numbering
- All specific hostname counts by property
What was kept, deliberately: infrastructure-provider categories (Cloudflare, Azure Front Door, Akamai, imperva-class edge, CloudFront, Adobe edge), because these are industry-wide and the distinction between a live distribution and a live origin is the technical point of the report. Also kept: the methodology findings, because the 0-versus-5 worker disagreement is the most transferable lesson here.
Placeholders used throughout:
| Placeholder | Meaning |
|---|---|
airline.example | Primary corporate domain and zone |
region.airline.example | Regional zone |
overseas.airline.example | The subdomain serving third-party content |
collection.airline.example | Collection application with identity handler |
partner-booking-api | Third-party travel-technology booking API |
regional-zone | The 272-hostname secondary zone |
<redacted> | Any key, token, path, or provider-side identifier |
Data handling
No passenger data, booking data, or personal information is reproduced. The compromise's injected content is described by category only — never by the destination it referenced or the commerce platform it was served from. No third-party brand is named in connection with the compromise.
Disclaimer
Findings reflect the state of the tested systems during the assessment window. The active compromise in particular is a point-in-time observation: it may have been remediated already, and its reported condition does not imply it persists. Remediation status is not asserted for any finding.
The twelve attack chains in section 3.7 are engineering judgements about what the confirmed findings enable in combination. They were not executed. Only one primitive among them — the claimable bucket takeover — was verified as genuinely available, and it was not exercised.
Methodology and tooling by BlackBit. Findings independently verified; parallel-worker disagreement reconciled and documented rather than averaged. Published with the client's permission.