Skip to content

Case study · Web3 CEX

Crypto Exchange Platform

Across 209 sessions, a homepage-advertised storage bucket listed production database archives to anonymous callers. A later cycle refuted the team's own identity-document inference.

Findings · 10
1 High3 Low6 Other
FindingVulnerabilitySeverity
The storage bucket: anonymous read and listing on production dataThe bucket granted anonymous read and list on three prefixes. Listing returned full key inventories with names, sizes, timestamps, and owner identifiers.HighCVSS 7.5
The login redirect path: code-proven, execution-unverifiedA sign-in route consumed a redirect parameter without validation, and the served production code assigned the decoded value to the browser location after login succeeded.LowCode-proven
Forwarding-header trust enables HTTPS-to-HTTP downgradeA forged forwarding header produces a plaintext redirect; adding a secure-proto header does not upgrade itLow
Image edge discloses internal storage topologyThe image-processing host reveals internal storage namingLow
Pre-authentication response oracleResponse differential before authenticationInfo
Locale tokens accepted verbatim in routingArbitrary routing tokensInfo
Permissive cross-origin posture on market dataPublic endpoints, public by designInfo
Cookie protective attributes missingScript-readable session tokenInfo
Production HTML advertises the bucket endpointThe discoverability defect behind the high findingInfo
Plaintext HTTP on a vendor API callConfig-disclosed, never contactedInfo

Executive summary

What we were asked to do

A cryptocurrency exchange asked us to assess its external estate from a black-box, anonymous position — no credentials, no source access. The estate included the trading platform, the API layer, and two pieces of adjacent vendor infrastructure the client assigned to scope.

Three assessment cycles were run over three days, each one deepening the previous. The third cycle reversed an inference the first two had made, and that reversal is the most interesting thing in this engagement.

Principal findings

One finding matters: a cloud storage bucket holding production trading-database archives and a store of user-uploaded images was readable and listable by anyone on the internet — no login, no tooling beyond an HTTP range request. The archives held roughly 117 GB across two prefixes: unencrypted database dumps spanning the exchange, futures, market-data, and risk domains. Their headers disclosed two internal database host addresses and seven schema names — an internal network map fragment readable by anyone. Everything else confirmed is a stepping stone: an API layer that discloses its captcha configuration, accepts fabricated session identifiers, permits cross-origin WebSocket upgrades, and carries a wildcard cross-origin response policy. No account takeover was demonstrated, and the one path that could reach it remains code-proven but execution-unverified because no test account was provisioned.

What this means in plain terms

Three things a board should take from this.

  • A single bucket permission granted anonymous access to production data and cost nothing to discover — the company's own homepage advertised the bucket address. This is the entire finding. Not a sophisticated attack: a policy misconfiguration, a public endpoint, and a page that points at it. The remediation is five steps and the first takes minutes. The disclosure question is the harder work.
  • The team corrected its own conclusion, in writing, against itself. The first two cycles classified the image store as containing identity documents. The third cycle fetched every single object and looked at all fifty distinct contents. There were zero real identity documents — the ID-style images are watermarked AI-generated test files. That correction cost the engagement its most alarming headline and is recorded in the revision history, the finding body, and the report's own caveats.
  • The most serious-looking remaining path is honestly labelled unproven. A login redirect parameter consumed without validation, and shipped code that assigns the decoded value to the browser location after sign-in. Proven in code. Unverified in execution, because testing the final step needs a real account and none was provisioned despite repeated requests. It sits in the report as a documented hypothesis with an explicit note that claiming otherwise would be fabrication.

The five things that need a decision, not a patch

#What is wrongBusiness impactWho decides
1Production database archives and user images were readable and listable anonymouslyThe policy fix is minutes. The disclosure assessment is not: the archives were unmodified since well before the assessment and their exposure duration is unknown. Someone must establish how long anonymous read was enabled and whether it was exercised.Security leadership + legal + data protection
2The exposure's own discoverability is a design defectThe production homepage embedded the bucket's raw endpoint address. Fixing the policy without fixing the advertisement leaves the bucket's existence public.Frontend + platform
3API stepping stones sit unjoined only because no account was provisionedWildcard cross-origin policy, fabricated session identifiers accepted, cross-origin WebSocket handshakes — each is a step toward an authenticated outcome. Whether they join is untested, and that is a coverage gap rather than a result.Application security
4No test account was provided across three cycles despite repeated requestsFive activity areas are gated on client decisions, including the one that would establish whether the login-redirect path reaches account takeover. Without them the report's ceiling is bounded by paperwork rather than by the estate's defenses.Engineering leadership
5Adjacent vendor infrastructure publishes its software version and SSO mode unauthenticatedNot the client's own code, but assigned to scope. The response is a vendor conversation about what that plane exposes.Vendor management

What we did not get

No account takeover. No authenticated session on any system. No credentials captured — the loot ledger is identifier-only with every secret field empty. No customer record extracted, no image content stored, and no bulk download performed anywhere.

The read discipline is worth naming because it bounds the finding: 16-byte and 1-kilobyte windows, archive heads decoded in memory and discarded, every row redacted to type-and-length, and only hashes and descriptions recorded. The finding is proven by structure, not by exfiltration.

Engagement outcome

An authorized black-box assessment of a cryptocurrency exchange's external estate found a cloud storage bucket permitting anonymous read and listing of production database archives and user-uploaded images, reachable without credentials and advertised on the company's own homepage. No customer record was extracted, no account takeover was achieved, and no bulk data was downloaded during the assessment. All findings were disclosed under a confidentiality agreement with immediate remediation guidance and a documented correction where the assessment's own earlier conclusion proved wrong.


1. The engagement in numbers

MetricValue
Active machine time~10 hours
Total Swarm Size209
Root workstreams3
Distinct agent roles7
Tool calls executed7,026
File reads2,299
Shell commands1,350
HTTP probe operations648
Model operations521
Recon planning operations261
Messages exchanged5,486
High-severity findings1
Informational observations8
Gated activity areas5
Closed attack classes13
Credentials captured0
Customer records extracted0

Agent topology

RoleSessionsResponsibility
Recon138Estate mapping, host-depth nesting, schema and auth surface
Scout28Door probing, surface promotion
Hunter20Exploitation and proof assembly
Advisor17Independent review and gate adjudication
Verification3Independent re-check
Orchestrator2Wave design, merge
Interactive1Operator consultation

The advisor count is unusually high at seventeen, and it explains the report's discipline. Seventeen independent reviews is what produces a document that corrects its own inference, labels an unproven path as unproven, and records thirteen closed attack classes with the evidence that closed them.

Fig 01 · Agent topology
Fig 01 · Agent topology

Cycle timeline

CycleFocusOutcome
1First-pass estate mapping and probing2 low, 6 informational, 3 gated areas; a login-redirect lead identified in code
2Deep re-reconciliation across all hostsNew high finding after a scope grant; 5 new low findings on the API and adjacent hosts
3Content sweep and structural decodeBucket census complete; archive internals decoded; image-store classification refuted at 100% coverage

2. What held

Thirteen attack classes were closed with evidence, and the report records them because a closed class should never be retested.

ClassHow it was closed
Cross-site scriptingRoute census, full sink census, headless confirmation — no exploitable sink
Template injectionNegative on both vantages
SQL injectionClosed with a proven working boolean oracle across both market-data routes; all six injection limbs flat
Server-side request forgeryFull parameter matrix negative; metadata, local, and external targets all rejected
DeserializationMagic-byte detection negative on all candidates
Request smuggling13 raw probes plus 3 typed baselines across edge and origin — zero desync, zero queue residue
Cache poisoning21 captures, zero cache objects on relevant response classes
Header-trust abuse17 probes byte-identical to baseline, beyond the one downgrade finding
Subdomain takeoverCandidate list empty across all cycles
Cross-site request forgeryNo in-scope unauthenticated state-changing endpoint
Access control on public market dataPublic-by-design false positive
Vendor ingress admin surfaceClosed control — status-port pattern; routing candidates rejected
Alternative service portsUniform deny pages on both schemes

The SQL injection closure is the standout. Rather than reporting "no injection found," the team proved a working boolean oracle and then demonstrated all six injection limbs flat against it. That is a measurement, not an absence.

The request-smuggling closure is the second. Thirteen raw probes plus three typed baselines, checked for queue residue — the failure mode that makes smuggling findings unreliable. Zero desync.

Fig 02 · 2. What held
Fig 02 · 2. What held

3. The finding that mattered

How the estate was mapped

Fig 03 · How the estate was mapped
Fig 03 · How the estate was mapped

The storage bucket: anonymous read and listing on production dataHigh, CVSS 7.5

In plain terms. A cloud storage bucket held two things: production database archives, and a store of images users had uploaded. Both were readable and listable by anyone on the internet with no login. The company's own homepage embedded the bucket's raw endpoint address in a preload tag, so finding it cost an attacker nothing.

The archives were unencrypted database dumps. Decoding their headers — the first kilobyte of each — revealed two internal database host addresses and seven schema names. That is an internal network map fragment, readable by anyone, from a public endpoint.

What. The bucket granted anonymous read and list on three prefixes. Listing returned full key inventories with names, sizes, timestamps, and owner identifiers. Ranged GET requests returned real object content, verified on both the raw regional endpoint form and the bucket-named virtual-host form.

The database-dump class totalled roughly 117 GB across two prefixes. A bounded structural decode of the archive heads established them as unencrypted logical dump trees: per-table, shard-chunked compressed members with schema sidecars. Roughly 575,000 rows were counted across three fully decoded chunks, and the largest table's chunk count projects to millions of customer order rows. Those rows carry account identifiers, prices, volumes, leverage, and fee fields; a follower-relationship table links trader identifiers to follower orders.

The image store was verified at full census: all 68 keys fetched, deduplicated to 50 distinct objects, and all 50 contents visually inspected.

How we found it. The homepage did the reconnaissance. A production page embedded the bucket's raw endpoint address in a preload tag — a common performance optimisation that also publishes where your data lives.

The testing was then deliberately minimal. Seven live requests total, sequential at the agreed rate: a HEAD with range, a 16-byte ranged GET, a virtual-host parity request to confirm both URL forms behave the same, two archive head/ranged-GET pairs, and one prefix listing. Every response captured verbatim.

Then the structural work ran offline. A bucket-wide key census by name and size. Bounded sequential decodes of both archive heads — 32 MB and 8 MB compressed windows, inflated in memory only, member inventories and schema sidecars inventoried, row counts taken across three fully decoded chunks, every row value redacted to type-and-length. No customer row value was persisted anywhere.

The refutation is the part worth reading. Cycles one and two classified the image store as containing user identity documents — a serious claim. Cycle three fetched every key and looked at every distinct content. The result:

ClassCount
User verification/deposit and trading screenshots9
Avatars and artwork10
AI-generated ID-style test images (watermarked, not real documents)4
Blank or accidental photos8
Miscellaneous application screens3
Internal engineering environment photographs4
Internal KYC-review administrator console capture1
Personal screenshot containing a vehicle licence plate1
Real identity documents0

Zero. At 100% coverage. The earlier label was wrong, and the report says so in the revision history, in the finding body, and in the caveats. The exposure is real and serious — four photographs of internal engineering environments and an internal review console capture are material — but it is not what the first two cycles thought it was.

Root cause. A storage policy granting anonymous read and list on critical resources. The finding is precisely a permission-assignment defect, which is the canonical cloud-storage example in the weakness taxonomy.

Fig 04 · The storage bucket: anonymous read and listing on production data
Fig 04 · The storage bucket: anonymous read and listing on production data

Impact. Unauthorised disclosure of production data. Any party could download the full archives; the assessment did not, per its read bounds. The archive headers disclose two internal database hosts and seven schema names. The image store exposes user-generated content, internal engineering environment photographs, an internal review console capture, and one personal licence-plate record on a world-readable path.

The CVSS score is a deliberate reconciliation: the source record labelled the database leg Critical and the image leg Medium, and the final report scores the single root cause — one bucket policy — as High 7.5, separating demonstrated read-only impact from a hypothetical integrity scenario no evidence supports.

Fix. Five steps, and the order matters. Remove anonymous read and list immediately. Audit every prefix for further sensitive classes. Treat the exposure window as a disclosure event — establish how long it was open and whether it was exercised. Fix the homepage preload so the bucket stops being discoverable. Re-verify with the same probe shapes on both URL forms.

Kill chain. Single-step from the attacker's perspective — there is no installation stage or command-and-control to assess because there is no exploitation step. The policy already granted access.

Fig 05 · The storage bucket: anonymous read and listing on production data — Kill chain
Fig 05 · The storage bucket: anonymous read and listing on production data — Kill chain

The login redirect path: code-proven, execution-unverifiedLow, deliberately

In plain terms. The sign-in page accepts a redirect destination in its URL and does not validate it. The shipped production code assigns the decoded value to the browser's location after a successful login.

If that value can carry script rather than a path, the result is execution in a freshly authenticated page where the session token is readable by script — account takeover, not a mere redirect.

We proved the code step. We could not test the execution step, because it needs a real account and none was provisioned across three cycles despite repeated recorded requests.

The report says this plainly: the finding is code-proven, execution-unverified, and claiming otherwise would be fabrication.

What. A sign-in route consumed a redirect parameter without validation, and the served production code assigned the decoded value to the browser location after login succeeded. An alternate QR-login path is hard-gated from an unauthenticated vantage.

How we found it. By reading the shipped production build rather than testing the rendered flow. The assignment is visible in the served code; the trigger requires a completed login.

The ceiling analysis is what makes it worth reporting. Combined with a script-readable session token — a separate confirmed observation — execution in the authenticated page would expose the token. That converts an open-redirect hygiene issue into an account-takeover hypothesis, which is why it is documented rather than dismissed.

Root cause. A redirect destination consumed from user input without an allowlist.

Fig 06 · The login redirect path: code-proven, execution-unverified
Fig 06 · The login redirect path: code-proven, execution-unverified

Impact. Unknown by design. The code step is confirmed; whether it reaches account takeover is a coverage gap the client can close by provisioning a test account.

Fix. Validate the redirect destination against an allowlist of paths, and mark the session cookie HttpOnly so a script cannot read it even if execution occurs.


The API stepping stones

Five API observations are listed below. Some overlap with the informational and hardening items in the next table.

FindingWhat it discloses
Captcha provider configurationSingle anonymous request returns the captcha provider's configuration
QR-login status endpointFabricated session identifiers receive normal status responses
Login-confirm error differentiationDistinguishable error code for fabricated tokens
Wildcard cross-origin response policyThe authenticated API surface carries a credential-permitting header
Cross-origin WebSocket upgradesBoth trading channels complete handshakes from any web origin

None of these hands an attacker an account. They are intelligence and hygiene defects, and the report classifies them that way rather than inflating them.

On the QR-login entropy question specifically: the report states explicitly that entropy is undetermined. The mint endpoint refused every unauthenticated mint shape, so no entropy claim is made. That is the right call — claiming guessable session identifiers without a mint sample would be fabrication.

Also confirmed

FindingSeverityContent
Forwarding-header trust enables HTTPS-to-HTTP downgradeLowA forged forwarding header produces a plaintext redirect; adding a secure-proto header does not upgrade it
Image edge discloses internal storage topologyLowThe image-processing host reveals internal storage naming
Login redirect consumed without validationLowCode-proven, execution-unverified, described above
Pre-authentication response oracleInformationalResponse differential before authentication
Locale tokens accepted verbatim in routingInformationalArbitrary routing tokens
Permissive cross-origin posture on market dataInformationalPublic endpoints, public by design
Cookie protective attributes missingInformationalScript-readable session token
Production HTML advertises the bucket endpointInformationalThe discoverability defect behind the high finding
Login-confirm error differentiationInformationalIncluded in the API set above
Plaintext HTTP on a vendor API callInformationalConfig-disclosed, never contacted

4. Kill chain summary

Fig 07 · 4. Kill chain summary
Fig 07 · 4. Kill chain summary
ChainReachedTerminated atData obtained
Storage bucketStage 4 (exfiltration)Bounded windows, stoppedStructure only
Login redirectStage 3 (delivery)No test accountNone
API stepping stonesStage 2 (weaponize)Session-gatedConfiguration only
Vendor planeStage 1 (recon)Session-gatedVersion and SSO mode

5. What the shape of this engagement teaches

Refuting your own inference at full coverage is the highest form of diligence and the least rewarded. Two cycles classified the image store as containing identity documents. The third fetched every object and looked at all fifty. Zero real documents. That correction cost the engagement its most alarming headline, appears in the revision history, the finding body, and the caveats, and is the single clearest signal that this report's other claims were tested rather than asserted.

Read discipline makes a catastrophic finding reportable. Seven live requests. Sixteen-byte and one-kilobyte windows. Archive heads inflated in memory and discarded. Every row redacted to type-and-length. No content bytes persisted. The finding is proven by structure and census rather than by exfiltration — which is why the client can act on it without a data-breach response already running.

The most damning detail was a performance optimisation. The homepage embedded the storage endpoint in a preload tag. That is standard practice for front-end performance. It also published the location of a production database. Fixing the bucket policy without fixing the advertisement leaves the existence public.

An unproven path labelled unproven is worth more than a speculative critical. The login-redirect chain has a proven code step, a plausible ceiling, and an untestable final step. The report calls it a hypothesis and notes that claiming otherwise would be fabrication. A reader knows exactly how much weight to give it, which a dramatic label would have destroyed.

Gated work should be enumerated as a deliverable, not hidden in limitations. Five activity areas with what each would establish, what it needs, and why it was not performed — including the one that would settle the account-takeover question. That table is a to-do list for the client rather than an excuse.

Closing thirteen attack classes with evidence prevents future waste. The report keeps them explicitly so no future engagement re-tests: the SQL injection closure with a proven oracle and six flat limbs, the smuggling closure with 26 probes and queue-residue checks. That is how an assessment compounds across years instead of repeating.

PriorityActionWhy firstEffort
1Remove anonymous read and list from the bucketProduction database archives publicly readableVery low
1Establish the exposure window and whether it was exercisedDetermines whether this is a disclosure eventOrganisational
2Fix the homepage preload that advertises the bucket endpointStops the bucket being discoverable at zero costVery low
2Audit every bucket prefix for further sensitive classesOnly three prefixes were examinedLow
2Rotate any credential that may have been stored alongside the dumpsThe archives predate the assessment by monthsLow
3Validate the login redirect parameter against an allowlistCode-proven path with an account-takeover ceilingLow
3Mark the session cookie HttpOnlyRemoves script readability even if execution occursVery low
3Provision a test account so the gated work can proceedFive areas including the takeover question are blocked on itClient decision
4Replace the wildcard cross-origin policy on the authenticated APICredential-permitting header on an authenticated surfaceLow
4Restrict cross-origin WebSocket upgrades to known originsTrading channels accept handshakes from anywhereLow
5Address the forwarding-header downgrade and image-edge disclosureHygiene; bounded impactMedium
5Raise the vendor plane's version and SSO-mode disclosure with the vendorAdjacent infrastructure, not the client's codeVendor

Notices

Authorization

This was an authorized security assessment conducted under a written engagement agreement covering the production estate and two pieces of assigned adjacent infrastructure. All testing was confined to the authorized domains.

Strict read-only discipline was applied throughout, and it is central to this report's credibility: no data was created, modified, or deleted on any client system; no account was created; zero credentials were captured; and for the storage finding only 16-byte to 1-kilobyte windows were fetched, archive windows were deleted in-process after header extraction, and no image or dump content was persisted anywhere in the engagement record.

Five activity areas requiring deeper access were gated rather than attempted, each with the precondition named. The one that would settle the account-takeover question was blocked on a test account that was requested repeatedly and not provisioned.

Redaction

Every hostname, IP address, credential, identifier, and infrastructure 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 domain names
  • All IP addresses, network ranges, and cloud resource identities
  • The storage bucket's name and both of its URL forms
  • The internal database host addresses and all seven schema names recovered from the archive headers
  • All credential values, tokens, and account identifiers
  • Organisation and brand identifiers
  • Vendor product names and the DevOps control-plane software version
  • The captcha provider's identity and configuration values
  • Endpoint paths, route names, and parameter names specific to the deployment
  • Every customer row value, every image content description beyond classification, and the licence-plate detail
  • Bucket key inventories, object names, sizes, and timestamps
  • Exact calendar dates and clock times — replaced with cycle and relative-day numbering
  • The precise archive sizes and byte figures that fingerprint the deployment

What was kept, deliberately: vulnerability classes and weakness taxonomy identifiers, CVSS vectors with written rationale, architectural patterns (bucket policy, cross-origin posture, forwarding-header trust, redirect consumption), the read-discipline methodology, the census approach and its refutation, and the gated-activity framework. These are transferable and identify nobody.

Placeholders used throughout:

PlaceholderMeaning
platform.examplePrimary domain and application estate
api.platform.exampleAPI and trading channel hosts
market.platform.examplePublic market-data endpoints
images.platform.exampleImage-processing edge
production-bucketThe storage bucket with anonymous access
vendor-planeThe adjacent DevOps control plane
vpn-planeThe adjacent UAT VPN control plane
<redacted>Any credential, key, bucket key, object name, address, or identifier

Data handling

No customer data is reproduced. The archive exposure is described by schema class, field type, and projected row magnitude — never by account identifier, price, volume, leverage value, fee, or any actual row. Row counts are given as approximate magnitudes rather than exact tallies. The image store is described by classification counts only; no content, filename, EXIF value, or the licence-plate record appears. The internal database host addresses and schema names recovered from the archive headers are excluded entirely, because they are the most operationally sensitive fragment of this finding.

Disclaimer

Findings reflect the state of the tested systems across three cycles on three consecutive days. The web application was redeployed mid-engagement and re-confirmed findings were re-verified against the post-redeploy build. Nothing here is a statement about behaviour after the window closes.

Coverage is bounded by client decisions, not by the estate's defenses. Five activity areas — all authenticated surfaces, QR identifier entropy, credentialed vendor authorization, and network ownership reconciliation — were gated on material the client did not provision. Every statement about authenticated behaviour is untested rather than verified secure.

One finding was corrected during the engagement and the correction is published. The image store was classified as containing identity documents in the first two cycles and refuted at 100% coverage in the third. That correction appears in the revision history, the finding body, and here, because a report that hides its own reversals is worth less than one that shows them.

An unproven path is labelled unproven throughout. The login-redirect chain is code-proven and execution-unverified. Its ceiling — account takeover — is a documented hypothesis. Claiming it as a finding would have been fabrication, and the assessment says so.

Thirteen closed attack classes are retained deliberately so that no future engagement re-tests them. Absence of a finding in those classes is evidence-backed; absence in the gated areas is not.


Methodology and tooling by BlackBit. Findings bounded by explicit read discipline; an earlier inference refuted at full coverage and published as a correction; thirteen attack classes closed with evidence and retained. Published with the client's permission.

More in Web3 CEX

← All case studies