Skip to content

Case study · Web3 CEX

Global Cryptocurrency Exchange and Web3 Wallet Platform

Across 91 sessions and 1,100+ API surfaces, three cloud origins bypassed the edge WAF directly on port 443, blockchain RPC nodes exposed debug and mempool methods cross-origin, and two high-severity false positives were refuted.

Findings · 8
3 High3 Medium2 Low
FindingVulnerabilitySeverity
3.1Direct-to-origin WAF bypass across four production virtual hostsThe platform relies on a global edge CDN/WAF to block web attacks and bots before traffic reaches application servers.High
3.2Layer-2 testnet JSON-RPC debug_* tracing namespace exposed with wildcard CORSOperator-only EVM debug tracing methods replay transactions step by step, exposing stack, memory, and contract storage.High
3.3Native chain RPC mempool surveillance (txpool_*) and transaction relay with wildcard CORSOn chain-rpc.exchange.example, any unauthenticated caller — or any webpage running in a visitor's browser — could inspect live pending transactions, read peer topology, and broadcast raw signed transactions into the network.HighHigh / Medium
3.4Unauthenticated, unrate-limited OAuth Dynamic Client Registration and cross-issuer namespace sharingAnyone can register unlimited OAuth clients with no login, no rate limit, arbitrary external HTTPS callbacks, and trading/asset-transfer scopes — and reuse a single client_id across four distinct exchange issuers, including the Web3 wallet consent screen.Medium
3.5Shadow CDN mirrors, uncached pre-production /cdnpre/ KYC bundles, and internal source-map leakThe JavaScript bundle powering the KYC dialog is served byte-identically from the official CDN, affiliated shadow CDN mirrors, and direct regional cloud object-storage endpoints…Medium
Unauthenticated error-tracker CSP telemetry injectionThird-party KYC SaaS host (kyc.exchange.example) leaks an error-reporting key in report-to headers; supplying it as a query param returns 200 OK with ACAO: *, enabling CSP-log floodingMedium
Archive RPC block-receipt amplification via CORSArchive Layer-2 RPC permits cross-origin bulk block-receipt queries; partially bounded by 4–5 req/sec rate limitingLow
Cloud object-storage XML metadata disclosure via i18n proxy/cdn/i18n/web?url= exposes raw storage-provider XML 404 responses leaking internal bucket metadata (SSRF blocked)Low

Executive summary

What we were asked to do

A global cryptocurrency exchange operating centralised trading markets, regional storefronts, a Web3 wallet portal, and its own Layer-1 and Layer-2 blockchain RPC infrastructure asked us to assess its public internet estate from an unauthenticated external position. Across four coordinated workstreams and 91 agent sessions, the assessment mapped more than 120 subdomains, probed over 1,100 API and gateway surfaces, and independently verified every candidate finding before reporting.

The engagement surfaced a clear architectural pattern — a hardened front door paired with exposed side doors — and delivered two critical lessons in verification discipline where apparent account-takeover and transport-downgrade findings collapsed under live re-testing.

Principal findings

Three production cloud origin hosts answered directly on port 443 without passing through the edge WAF, serving four full production virtual hosts and allowing payloads blocked at the CDN edge (403) to reach application code (200). On the blockchain tier, the *Layer-2 testnet RPC node exposed unauthenticated EVM `debug_trace methods with wildcard CORS**, while the **native chain RPC node exposed live mempool contents (txpool_`) and unauthenticated transaction relay behind wildcard CORS. On the identity plane, OAuth Dynamic Client Registration (DCR) was open without authentication or rate limiting across four issuers sharing one `client_id` namespace — though independent verification refuted an initial critical account-takeover claim caused by mistaking an unauthenticated SSR login shell for an accepted grant. Finally, shadow CDN mirrors and a `/cdnpre/` pre-production path served KYC SDK bundles with `no-cache` origin headers, wildcard CORS, no Subresource Integrity, and an internal RFC-1918 source-map reference*.

What this means in plain terms

Three things a board should take from this.

  • Your edge WAF is strong, but three origin servers can be reached around it. Resolving the apex origin IPs bypasses edge filtering entirely for four live properties, including the main exchange and Web3 wallet portals. Edge defense works only when origin ingress is locked to the CDN.
  • Public blockchain RPC nodes are leaking execution internals and live mempool traffic to any browser. Mainnet Layer-2 RPC blocked debug tracing cleanly, proving the right policy exists — it was not applied consistently to the Layer-2 testnet or native chain RPC gateway.
  • Two apparent high-severity bugs turned out not to exist, saving real engineering cycles. An apparent critical OAuth bypass was an SSR page-rendering illusion, and an apparent plaintext WebSocket downgrade was a port-80 404 catch-all. Neither reached a vulnerable handler.

The five things that need a decision, not a patch

#What is wrongBusiness impactWho decides
1Three origin IPs accept direct TLS traffic around the edge WAF for four live virtual hostsLocking origins to CDN IP ranges or mTLS requires validating every legitimate direct caller before cutting over.Infrastructure + SRE
2Blockchain RPC gateways expose debug_* (testnet) and txpool_* + eth_sendRawTransaction (chain RPC) with wildcard CORSPublic RPC policies balance developer ergonomics against abuse prevention; restricting namespaces and browser CORS is a policy decision.Protocol engineering
3OAuth Dynamic Client Registration is open, unrate-limited, and shares one client_id pool across four issuersPublic DCR with live:trade and live:asset_transfer scopes is an ecosystem design choice requiring product-security sign-off on auth, issuer binding, and redirect governance.Identity + product
4Production and pre-production KYC SDK bundles are mirrored on external CDN domains and public object-storage paths without SRIConfirming whether the external mirror is an authorised failover path — and removing /cdnpre/ from production origins — needs supply-chain ownership sign-off.Frontend platform + security
5A third-party KYC vendor's error-reporting key is exposed in headers and accepts unauthenticated CSP reportsShared SaaS telemetry hygiene requires coordinating origin allowlisting or signed report tokens with the vendor.Vendor management + security

What we did not get

No user account takeover. No session hijack. No SSRF against internal services or cloud metadata. No broken object-level authorisation (BOLA) or user enumeration. No write access to any object-storage bucket, CDN origin, or trading endpoint. No funds moved. Every private WebSocket channel, authenticated account endpoint, and production Layer-2 mainnet debug route enforced its barrier cleanly.

Engagement outcome

An authorized external security assessment of a global cryptocurrency exchange and Web3 wallet platform identified infrastructure and API configuration weaknesses — including direct origin reachability around the edge WAF, permissive cross-origin policies on blockchain RPC endpoints, unrate-limited OAuth client registration, and exposed pre-production asset paths. No user accounts were compromised, no funds were moved, no internal data was exfiltrated, and core authentication, private WebSocket, SSRF, and mainnet execution controls held under intensive testing. All confirmed findings and verification notes were delivered under a confidentiality agreement with a prioritised remediation plan.


1. The engagement in numbers

MetricValue
Root workstreams4 (primary estate, regional front, Web3 wallet, paper-trading WS)
Total Swarm Size91
Subdomains enumerated / mapped in depth~120–142 discovered / 47+ live across 5 functional groups
WebSocket gateways probed17
SSRF / BOLA probes executed1,136 SSRF (0 hits) / 11 BOLA (0 hits)
Cache-poisoning probes executed75 (5 unkeyed headers × 15 paths, 0 reflected)
Sequential OAuth DCR registrations tested200 (50 × 4 issuers, 200× 201 Created, 0× 429)
Confirmed findings9 (3 high, 4 medium, 2 low)
Refuted / unverified / RoE-blocked items10 refuted classes · 3 auth/challenge-gated · 1 RoE-blocked
User accounts accessed or funds moved0

Testing stayed strictly unauthenticated and read-only on production data planes. Ephemeral OAuth test clients minted during DCR rate-limit testing used non-existent callback domains and touched no user session.

Agent topology

RoleSessionsResponsibility
Recon44Subdomain discovery, WAF/CDN profiling, WebSocket and RPC mapping, auth-flow graphing
Exploit25Origin-bypass testing, SSRF/BOLA campaigns, OAuth verification, shadow-CDN proof, WS downgrade tests
Vulnerability analyst15Parallel hypothesis validation across OAuth, RPC, infra/cookies, IDOR, info-leak, and SPA routing
Orchestrator4Four-workstream cycle planning, cross-track synthesis, scope governance
Advisor2Independent verification audit, severity calibration, false-positive adjudication
General1Supporting estate indexing
Fig 01 · Agent topology
Fig 01 · Agent topology

2. What held

Seven substantial defensive barriers held under live probing.

  • Web3 private API request signing held against unauthenticated SSRF and BOLA. Across 1,136 SSRF and 11 BOLA probes, user-scoped wallet APIs enforced a secp256k1 ECDSA-SHA256 signature gate (X-Client-Signature) tied to a registered keypair whitelist, rejecting unsigned and forged calls before backend execution.
  • Private WebSocket authentication held across all 17 gateways. Every private channel returned explicit auth-required errors (60011 / 60009) without a valid HMAC-SHA256 login frame.
  • *Production Layer-2 mainnet RPC blocked `debug_ methods.** debug_traceTransaction, debug_traceCall, and debug_traceBlockByHash returned -32601 on rpc.exchange.example`.
  • Account-management and MFA APIs enforced uniform access control. Over 20 subaccount, RBAC, passkey, face-verification, TOTP, and profile routes returned uniform 403 Forbidden; check-regname returned uniform 80-byte {code:0, data:{}} responses preventing user enumeration.
  • CDN cache-poisoning and subdomain takeover controls held. Zero of 75 cache-poisoning probes reflected or persisted; 45+ CNAME chains yielded zero dangling takeover candidates.
  • Object-storage listing and OAuth token-endpoint controls held. Direct bucket roots returned 403 AccessDenied on ListBucket; the OAuth token endpoint rejected password and client_credentials grants, required form-urlencoded input (415 on JSON), enforced RFC 8252 loopback-only cleartext checks at DCR, and returned uniform invalid_grant without client enumeration.
  • Redirect-parameter DOM XSS controls held. Active payloads hit edge 403 blocks, og:url remained URL-encoded, and seven production JS bundles contained no DOM sink reading the redirect parameter.
Fig 02 · 2. What held
Fig 02 · 2. What held

The refutations: two high-severity illusions that collapsed on verification

Refutation A — The "Critical OAuth Account Takeover" that was an SSR login shell. An initial vulnerability track sent four classic redirect_uri bypass variants (prefix, suffix, encoded traversal, @-userinfo), omitted state, and omitted PKCE code_challenge to GET /account/oauth. Every probe returned HTTP 200 (~40 KB) echoing the parameters — looking like a textbook Critical ATO. Independent verification caught the flaw: `/account/oauth` renders an unauthenticated SSR login shell (`200 OK`) before authentication or grant validation runs. Page rendering is not a flow-level bypass. Direct token endpoint tests confirmed RFC 6749 grant enforcement and RFC 8252 loopback checks, so all unverified bypass claims were stripped and the finding was calibrated to Medium (open, unrate-limited DCR and shared client_id namespace).

Fig 03 · The refutations: two high-severity illusions that collapsed on verification
Fig 03 · The refutations: two high-severity illusions that collapsed on verification

Refutation B — The "Plaintext WebSocket Downgrade" that was a port-80 `404`. Recon flagged open port 80 on private WebSocket hosts (ws.exchange.example:80) and an HTTP port on the push WebSocket gateway. Live exploitation proved raw Upgrade: websocket handshakes on port 80 return HTTP/1.1 404 Not Found (never 101 Switching Protocols), TLS ports enforce Strict-Transport-Security: max-age=15724800; includeSubDomains, and the push gateway returns 308 Permanent Redirect to HTTPS.


3. The findings that mattered

How the estate was mapped

Fig 04 · How the estate was mapped
Fig 04 · How the estate was mapped

3.1 Direct-to-origin WAF bypass across four production virtual hostsHigh

In plain terms. The platform relies on a global edge CDN/WAF to block web attacks and bots before traffic reaches application servers. Three underlying cloud origin IPs accepted HTTPS directly on port 443 and served four live production virtual hosts — main exchange, regional front, Web3 wallet, and a legacy chain-tools portal — completely bypassing edge inspection.

What & how we found it. Correlating apex DNS records against edge anycast ranges and running paired differential probes proved full HTML responses (79 KB, 66 KB, 91 KB, 7.6 KB), unauthenticated /health and /status routes, and internal headers (x-brokerid, x-readtime, x-ratelimit-remaining-minute) directly from origin. An XSS payload blocked with 403 at the edge WAF returned 200 OK from origin.

Root cause. Origin security groups and TLS listeners did not restrict port-443 ingress to CDN IP ranges or enforce Authenticated Origin Pulls (mTLS).

Fig 05 · 3.1 Direct-to-origin WAF bypass across four production virtual hosts
Fig 05 · 3.1 Direct-to-origin WAF bypass across four production virtual hosts

Impact & fix. Edge WAF rules, bot challenges, and edge rate limits are bypassed for any client addressing origin IPs directly. Independent verification narrowed severity from Critical to High because no exploitable backend injection was confirmed behind the bypassed WAF. Lock origin ingress to edge CDN IP ranges, enable mTLS origin pulls, and remove /health and /status from public routing.


3.2 Layer-2 testnet JSON-RPC debug_* tracing namespace exposed with wildcard CORSHigh

In plain terms. Operator-only EVM debug tracing methods replay transactions step by step, exposing stack, memory, and contract storage. On testnet-rpc.exchange.example, those methods answered unauthenticated callers behind Access-Control-Allow-Origin: *, allowing any webpage to extract full traces via a visitor's browser.

What & how we found it. Comparing mainnet and testnet JSON-RPC method allowlists showed testnet-rpc.exchange.example executing debug_traceTransaction, debug_traceCall, and debug_traceBlockByHash (~27 KB structLogs per transaction) with ACAO: * and Vary: Origin. Production Layer-2 mainnet (rpc.exchange.example) rejected all three with -32601, and testnet blocked debug_setHead, isolating a testnet RPC proxy allowlist asymmetry.

Root cause. Read-heavy debug_trace* methods remained in the testnet RPC proxy whitelist alongside an unrestricted wildcard CORS header.

Fig 06 · 3.2 Layer-2 testnet JSON-RPC `debug_*` tracing namespace exposed with wildcard CORS
Fig 06 · 3.2 Layer-2 testnet JSON-RPC `debug_*` tracing namespace exposed with wildcard CORS

Impact & fix. Cross-origin extraction of contract execution traces and proxy storage slots plus remote compute amplification at 5 req/sec. Align the testnet proxy whitelist with mainnet by removing debug_trace* methods and replacing Access-Control-Allow-Origin: * with an explicit allowlist.


3.3 Native chain RPC mempool surveillance (txpool_*) and transaction relay with wildcard CORSHigh / Medium

In plain terms. On chain-rpc.exchange.example, any unauthenticated caller — or any webpage running in a visitor's browser — could inspect live pending transactions, read peer topology, and broadcast raw signed transactions into the network.

What & how we found it. Querying rpc_modules and testing every advertised namespace with cross-origin headers confirmed two paired defects: (1) High: txpool_content, txpool_status, txpool_inspect, net_peerCount, net_listening, node version, and rpc_modules exposed with ACAO: *; and (2) Medium: unauthenticated eth_sendRawTransaction relay with ACAO: * on both chain-rpc.exchange.example and testnet-rpc.exchange.example.

Root cause. Operator-grade txpool and net namespaces remained enabled on a public RPC gateway paired with wildcard browser CORS.

Fig 07 · 3.3 Native chain RPC mempool surveillance (`txpool_*`) and transaction relay with wildcard CORS
Fig 07 · 3.3 Native chain RPC mempool surveillance (`txpool_*`) and transaction relay with wildcard CORS

Impact & fix. Browser-accessible mempool surveillance paired with unauthenticated transaction relay enables MEV/front-running workflows and node fingerprinting. Remove txpool_*, net_*, and rpc_modules from the public whitelist, restrict CORS, and gate transaction submission with quotas.


3.4 Unauthenticated, unrate-limited OAuth Dynamic Client Registration and cross-issuer namespace sharingMedium

In plain terms. Anyone can register unlimited OAuth clients with no login, no rate limit, arbitrary external HTTPS callbacks, and trading/asset-transfer scopes — and reuse a single client_id across four distinct exchange issuers, including the Web3 wallet consent screen.

What & how we found it. Enumerating /.well-known/oauth-authorization-server across four hosts (exchange.example, mobile-web, account portal, and wallet.exchange.example) and sending 50 sequential POST /api/v5/mcp/auth/register requests per host yielded 200/200 `HTTP 201 Created` responses with zero 429 or rate-limit headers. Clients used public-client auth (token_endpoint_auth_method: "none"), accepted arbitrary HTTPS redirect_uri values, and accepted live:read, live:trade, live:earn, and live:asset_transfer scopes. Replaying a client_id minted on exchange.example against wallet.exchange.example/account/oauth rendered a 200 OK wallet consent shell with no issuer error.

Root cause. Public RFC 7591 DCR without rate limiting or domain governance, backed by a single global client_id store instead of issuer-scoped client registrations (violating OAuth/OIDC mix-up BCP).

Fig 08 · 3.4 Unauthenticated, unrate-limited OAuth Dynamic Client Registration and cross-issuer namespace sharing
Fig 08 · 3.4 Unauthenticated, unrate-limited OAuth Dynamic Client Registration and cross-issuer namespace sharing

Impact & fix. Client-store exhaustion, low-friction consent phishing under attacker-chosen metadata, and cross-issuer mix-up exposure. Gate DCR behind authentication or strict per-IP quotas with client TTLs, bind every client_id and authorization code (iss/aud) to one issuer, restrict high-impact scopes to reviewed clients, and verify post-login redirect_uri/PKCE enforcement via authenticated tests.


3.5 Shadow CDN mirrors, uncached pre-production /cdnpre/ KYC bundles, and internal source-map leakMedium

In plain terms. The JavaScript bundle powering the KYC dialog is served byte-identically from the official CDN, affiliated shadow CDN mirrors, and direct regional cloud object-storage endpoints — alongside a public /cdnpre/ pre-production build with no-cache headers, no Subresource Integrity, and a sourceMappingURL pointing to an internal development load balancer.

What & how we found it. Inspecting KYC bundle footers, resolving the leaked dev hostname, and SHA-256 diffing objects across /cdn/, /cdnpre/, shadow mirrors, and direct regional storage buckets confirmed: (1) byte-identical production KYC bundles served with ACAO: * (including null origin) and no <script integrity> hashes; (2) a distinct /cdnpre/ pre-production build (three divergent webpack chunk hashes) carrying Cache-Control: no-cache, max-age=0, must-revalidate at the bucket layer, short-circuiting the 1-year edge cache; and (3) a //# sourceMappingURL= footer pointing to internal-cdn.example, whose CNAME resolved to an internal RFC-1918 cloud load balancer (10.x.x.x).

Root cause. Shared public-read object-storage buckets serving both production and pre-production prefixes across multiple CDN aliases, plus build pipelines retaining development sourceMappingURL tags.

Fig 09 · 3.5 Shadow CDN mirrors, uncached pre-production `/cdnpre/` KYC bundles, and internal source-map leak
Fig 09 · 3.5 Shadow CDN mirrors, uncached pre-production `/cdnpre/` KYC bundles, and internal source-map leak

Impact & fix. Read-only posture finding — no write access to any bucket, certificate, or DNS pool existed — but missing SRI and uncached /cdnpre/ paths eliminate blast-radius insulation if a bucket credential is ever compromised. Strip sourceMappingURL comments, remove /cdnpre/ from public origins, block direct public bucket URLs, add SRI hashes, and audit external shadow CDN mirrors.


Also confirmed

FindingSeverityContent
Unauthenticated error-tracker CSP telemetry injectionMediumThird-party KYC SaaS host (kyc.exchange.example) leaks an error-reporting key in report-to headers; supplying it as a query param returns 200 OK with ACAO: *, enabling CSP-log flooding
Archive RPC block-receipt amplification via CORSLowArchive Layer-2 RPC permits cross-origin bulk block-receipt queries; partially bounded by 4–5 req/sec rate limiting
Cloud object-storage XML metadata disclosure via i18n proxyLow/cdn/i18n/web?url= exposes raw storage-provider XML 404 responses leaking internal bucket metadata (SSRF blocked)

Refuted, unverified, and out-of-scope hypotheses

HypothesisVerdictWhy
OAuth redirect_uri, state, and PKCE bypass (Critical ATO)Refuted/account/oauth renders an unauthenticated SSR login shell (200) before auth validation; token endpoint enforces RFC 6749 grants and RFC 8252 loopback checks
Plaintext WebSocket downgrade (ws:80) & HTTP push socketRefutedPort 80 returns 404 on WebSocket upgrade (never 101); TLS ports enforce HSTS; push socket returns 308 to HTTPS
Unauthenticated SSRF & BOLA on Web3 wallet API and url-checkRefuted1,136 SSRF and 11 BOLA probes produced 0 hits; wallet APIs enforce secp256k1 signature whitelist; 4 OOB DNS hits were CDN edge logging lookups
Production Layer-2 mainnet RPC debug_* exposureRefutedAll debug_trace* methods cleanly rejected (-32601) on mainnet
Hardcoded third-party RPC API keys in legacy JS bundlesRefutedBoth extracted key-shaped strings returned invalid project id (dead/revoked)
Redirect-parameter DOM XSS on main portalRefutedEdge WAF blocks payloads (403); og:url stays URL-encoded; 7 JS bundles have no DOM sink reading redirect
Web cache poisoning & subdomain takeoverRefuted0/75 cache reflections; 0/45+ dangling CNAME takeover candidates
Legacy TLS certificate key reuseRefutedOrigin wildcard certs and CDN edge leaf certs use distinct keys and issuers
User enumeration (check-regname) & unauth MFA/RBAC accessRefutedUniform 80-byte {code:0, data:{}} on check-regname; uniform 403 across 20+ MFA/RBAC/subaccount routes
Legacy react-router-dom 5.1.2 server-side open redirectRefuted (server)Dependency confirmed on wallet.exchange.example, but 17/17 path/protocol-relative redirect probes returned 404/400
Cross-subdomain authenticated session cookie scopeUnverifiedAll unauthenticated app cookies were host-only; requires authenticated session to inspect login cookies
Subaccount / RBAC switching IDORUnverifiedUniform 403 unauthenticated; requires two authenticated accounts to test cross-account switching
Payment-auth cross-host token replayUnverifiedBlocked by edge bot-management JS challenge (403) and origin 403 from non-browser egress
Affiliated-domain shadow-IT expansion scanBlocked (RoE)Halted immediately because no written RoE file authorised scanning out-of-scope affiliated domains

4. Kill chain summary

Fig 10 · 4. Kill chain summary
Fig 10 · 4. Kill chain summary
ChainReachedTerminated atData obtained
Direct-to-origin WAF bypassStage 4 (exploit differential)No confirmed backend injectionUnfiltered HTML, /health, routing headers
L2 testnet debug_* + CORSStage 5 (collection)Testnet only; mainnet blocked (-32601)Full EVM execution trace (structLogs)
Chain RPC txpool_* + relayStage 5 (collection)Read-only check; no tx broadcastLive mempool status, peer count, module list
OAuth DCR + IdP confusionStage 3 (delivery setup)Pre-login SSR shell; unauthenticated scope200 ephemeral test client_ids (no user tokens)
Shadow CDN + /cdnpre/ + mapStage 5 (posture proof)Read-only; ListBucket 403, internal ALB unreachableSHA-256 parity proofs, RFC-1918 ALB topology
Web3 SSRF / BOLA chainStage 2 (weaponise)secp256k1 client-signature whitelistNone (0 hits across 1,147 probes)
Plaintext WS downgradeStage 1 (recon anomaly)Port 80 returns 404, HSTS enforcedNone

5. What the shape of this engagement teaches

A strong CDN edge is only as strong as origin isolation. The edge WAF blocked XSS/SQLi payloads, enforced bot management, and defeated 75 cache-poisoning probes — yet three origin IPs served four production virtual hosts directly on port 443. Origin lockdown (CDN IP allowlists plus mTLS) must be verified continuously, not assumed from DNS.

Testnet and auxiliary RPC nodes drift from mainnet policy. Mainnet Layer-2 RPC blocked debug_* cleanly, while testnet and native chain gateways exposed debug_trace*, txpool_*, and eth_sendRawTransaction behind ACAO: *. Shared RPC proxy templates should enforce one baseline allowlist across every environment unless an exception is authenticated.

SSR login shells create convincing false-positive OAuth bypasses. An HTTP 200 on /account/oauth with echoed redirect_uri or missing state/PKCE proves only that the frontend rendered a login shell. Separating what is proven (open, unrate-limited DCR and a shared client_id pool) from what requires authenticated flow testing preserves credibility and directs engineering to the real fix.

Verify recon anomalies at the protocol layer before escalating. Open port 80 on a WebSocket host looks like a plaintext downgrade until a live handshake returns 404, and OOB DNS hits during SSRF probing can be CDN edge-resolver logging rather than backend callbacks.

Supply-chain posture matters even without bucket write access. Public /cdnpre/ builds with no-cache, shadow CDN mirrors, missing SRI, and internal source maps are not an active compromise, but they remove the safety margin if a storage credential or CI pipeline is ever exposed.

PriorityActionWhy firstEffort
1Lock origin port-443 ingress to CDN IP ranges and enable Authenticated Origin Pulls (mTLS)Closes direct WAF bypass across four live production virtual hostsMedium
1Remove debug_trace* from L2 testnet RPC and txpool_* / net_* / rpc_modules from chain RPCStops unauthenticated trace extraction and mempool surveillanceLow
2Replace Access-Control-Allow-Origin: * on public RPC gateways with explicit allowlists or omit CORSEliminates browser-based cross-origin trace and transaction relayLow
2Add auth or strict rate limits, issuer scoping (iss/aud), and redirect_uri governance to OAuth DCRCloses unlimited client minting and cross-issuer client_id confusionMedium
3Remove /cdnpre/ from public origins, strip sourceMappingURL footers, and block direct bucket readsEliminates internal RFC-1918 topology leaks and uncached pre-prod exposureLow
3Add Subresource Integrity (integrity) to KYC/auth scripts and review external shadow CDN mirrorsBounds client-side supply-chain blast radiusMedium
4Enforce origin allowlisting or signed tokens on the third-party KYC SaaS CSP report endpointPrevents telemetry flooding and alert maskingVendor
4Run a follow-on authenticated test for cookie scope, subaccount/RBAC IDOR, and post-login OAuth consentCloses the three hypotheses that require legitimate test credentialsScheduled

Notices

Authorization

This was an authorized external security assessment conducted under a written engagement agreement. All testing remained confined to in-scope properties with strict non-destructive discipline: no user accounts were accessed, no authenticated trading or withdrawal flows were invoked, no funds were moved, no raw transactions were broadcast, and an affiliated-domain shadow-IT scan was aborted because no RoE entry authorised external domains.

Redaction

Every hostname, IP address, cloud region, object-storage bucket, third-party SaaS vendor, credential, client identifier, transaction hash, and calendar date has been replaced with a placeholder or generalised.

What was removed: real domain names, subdomains, regional labels, and brand/token/chain names; all IPv4/IPv6 addresses, cloud account IDs, internal load-balancer hostnames, and exact RFC-1918 addresses; all bucket names, shadow mirror domains, and third-party vendor names (CDN, cloud, KYC SaaS, error-tracking SaaS, external RPC providers); all OAuth client_ids, PKCE verifiers, reporting keys, dead API keys, and file/transaction hashes; all session IDs, proof file paths, and calendar dates.

What was kept, deliberately: vulnerability classes, HTTP status and header patterns, JSON-RPC method namespaces, OAuth RFC 6749/7591/8252 behaviours, aggregate probe counts, and the verification-refutation sequences for the SSR OAuth illusion and port-80 WebSocket check.

PlaceholderMeaning
exchange.example / regional.exchange.examplePrimary exchange domain and regional storefront
wallet.exchange.example / api.exchange.exampleWeb3 wallet portal and public REST API surface
rpc.exchange.example / testnet-rpc.exchange.exampleLayer-2 mainnet and Layer-2 testnet JSON-RPC endpoints
chain-rpc.exchange.example / explorer.exchange.exampleNative Layer-1 chain RPC and chain-tools surface
ws.exchange.exampleExchange WebSocket gateway estate
static.exchange.example / mirror.cdn.examplePrimary static CDN host and affiliated shadow mirror
kyc.exchange.example / internal-cdn.exampleThird-party KYC SaaS host and internal source-map hostname

Data handling

No user data, wallet address, trading position, private key, or live credential appears in this report. All metrics are aggregate counts (probe volumes, response sizes, rate limits, method inventories). Ephemeral OAuth client identifiers minted during DCR rate-limit testing were discarded unused.

Disclaimer

Findings reflect the tested systems during the engagement window and do not imply conditions persist today. The initial "Critical OAuth Account Takeover" and "Plaintext WebSocket Downgrade" hypotheses are reported as refuted, not as findings — preserving how they arose and how independent verification disproved them is a deliberate part of the record.


Methodology and tooling by BlackBit. Hardened front doors paired with exposed side doors — and two high-severity illusions dismantled through protocol-level verification. Published with the client's permission.

More in Web3 CEX

← All case studies