Executive summary
What we were asked to do
A multinational oil and energy group with several independent business units asked us to attack its public estate as a real adversary would, and report what actually broke. The rules were agreed in writing in advance: we could read, we could test, and we were not to alter production data or destroy anything. Where a step would have crossed into changing production state, we stopped and documented the capability instead.
Principal findings
We found one critical chain that reached production data and three that stopped just short of it. The chain that succeeded started with a log server that had no password on it at all. That log server was recording every API request the warehouse management system made — including the OAuth client secrets used to authenticate those requests, written in plaintext, because nobody had told the logging pipeline to redact them. With one of those secrets we minted a live production API token. Then we used a second credential from the same logs to open the admin console, looked up which warehouse that API client was bound to, and pulled 31,480 product records and 578 customer invoices out of a live downstream distribution centre. No exploit chain, no zero-day, no malware. Just a log server with no door on it.
What this means in plain terms
Picture a company where the CCTV system is excellent, the front gate is guarded, and the badge readers work. But the room where the CCTV tapes are stored is unlocked, and the tapes happen to show everyone typing their passwords. That is exactly what we found.
The three things leadership should take from this:
- The security controls were not absent — they were bypassed by their own telemetry. The warehouse API required authentication and enforced it correctly. It had OAuth scopes, per-warehouse authorisation, and role checks. None of that mattered, because the system's own audit log recorded the credential in cleartext on a server anyone could read.
- One unauthenticated log server turned into four separate critical findings. The log server gave us OAuth secrets, which gave us an API token, which gave us warehouse data. The same server also gave us Django admin passwords, which gave us a management console, which let us resolve which warehouse the token belonged to. Each finding fed the next.
- Test environments were materially worse than production. The IMS demand-forecasting breach, the WSO2 default admin credentials, and the open spare-parts API were all on UAT, staging, or pre-production hosts. They held real data and carried none of the production controls.
The five things that need a decision, not a patch
| # | What is wrong | Business impact | Who decides |
|---|---|---|---|
| 1 | Production API credentials are being written to logs in cleartext | This is not a one-off leak, it is a systemic logging decision. Any server that ingests those logs can read every credential your warehouse APIs use. Fixing the exposed host does not fix the pipeline that keeps writing secrets to it. | Platform architecture + security leadership |
| 2 | Customer PII and payment references sat in readable application logs | Names, addresses, phone numbers, tax identifiers, and payment references are being logged as request payloads. This is a data-protection exposure independent of any intrusion, and it likely extends past the one cluster we tested. | Data governance + legal |
| 3 | Production admin console was reachable from the internet with a password recovered from logs | Django admin on the production warehouse backend had no network restriction. Combined with credential reuse across systems, one log leak became administrative access. | Security operations |
| 4 | Test and pre-production environments hold live data with production protections removed | Demand forecasts for the entire downstream distribution network, a spare-parts inventory API, and default admin credentials on identity servers — all on non-production hosts. Nobody owns these after launch. | Platform ownership / IT management |
| 5 | Cross-domain session architecture lets any subdomain read another's identity token | The attendance API reflects any origin on the corporate domain suffix and the SPA stores its access token in a non-HttpOnly, domain-wide cookie. This is a design-level trust assumption, not a configuration mistake. | Application security architecture |
What we did not get
We obtained no operating-system foothold, no shell, no reverse shell, no persistence, and no lateral movement into internal networks. Every finding is a read or an authenticated API call, and in two cases an authenticated admin session. We did not modify production data, did not create accounts outside our own test registrations, and did not attempt destructive actions.
One qualification worth stating: we did obtain a genuine Django admin session on the production warehouse backend, and that is a meaningful level of access. We used it read-only, to resolve an authorisation mapping, and stopped there rather than exploring what an admin console would otherwise allow.
Engagement outcome
An independent security assessment of a large oil and energy group's public systems found that an unauthenticated logging server led to exposure of production warehouse data, including 31,480 product records and 578 customer invoices. The root cause was that API credentials and customer personal data were written to application logs in plaintext on an internet-reachable server. No data was altered and all findings were disclosed under a confidentiality agreement and remediated.
1. The engagement in numbers
The scale here matters differently than in a typical single-target test. We enumerated ~3,200 subdomains across an oil and energy group with genuinely separate business units, which means this was effectively five or six different companies' worth of attack surface sharing one domain suffix.
| Metric | Value |
|---|---|
| Active days | 5 (one concentrated 8.8-hour session, one 24-hour window, three short follow-ups) |
| Active machine time | ~33 hours |
| Root workstreams | 4 (staged across 10 weeks) |
| Total Swarm Size | 50 |
| Delegated specialist sessions | 46 |
| Distinct agent roles | 4 |
| Peak concurrent sessions | 5 |
| Tool calls executed | 3,939 |
| HTTP probes | 2,083 |
| Shell commands | 1,147 |
| Browser-driven inspections | 71 |
| Raw entries in the engagement ledger | 52 before de-duplication |
| Detailed findings in sections 3.1–3.7 | 4 critical, 3 high; additional findings listed separately |
| Subdomains enumerated | ~3,200 |
| Subdomains resolving | ~1,260 |
| Live HTTP hosts | 598 |
| Production data extracted | 31,480 SKUs, 578 invoices, 75 forecast jobs |
| OS foothold achieved | None |
Agent topology
| Role | Sessions | Responsibility |
|---|---|---|
| Orchestrator | 4 | Scope, phase transitions, merge and re-rank |
| Hunter | 35 | Wave-level exploitation across assigned host groups |
| Recon | 3 | Subdomain enumeration, DNS, HTTP triage |
| General | 8 | Long-tail probing, report assembly, verification |
Each session ran in four waves: reconnaissance, then exploitation, then a synthesis pass that merged what survived and ranked it. Ten of those sequences ran, each with three to five waves. Peak concurrency was held at 5 so the work would not destabilise a large production estate.
Wave timeline
| Wave | Window | Focus | Outcome |
|---|---|---|---|
| 1 | Week 1, day 1 (8.8 hours) | Full estate recon: DNS, HTTP triage, initial waves | ~3,200 subdomains, 598 live, exploitation begins |
| 2 | Week 1, day 1 (same evening) | WMS and analytics deep dive | Log cluster found, credentials harvested |
| 3 | Week 2 (24-hour window) | Sustained exploitation across four parallel workstreams | Warehouse data exfiltrated, 52 findings recorded |
| 4 | Weeks 8 and 10 | Follow-up verification and closure | Final consolidation |
2. What held
Being honest about the defenses matters, because it tells you where the investment has been made and where it has not.
- Azure AD App Proxy coverage. Twenty-six hosts redirected to Microsoft login and were properly gated. Whatever is behind that proxy, we could not touch.
- F5 BigIP and Citrix NetScaler edge. Nine authentication panels were fronted by load balancers that set domain-scoped persistence cookies. No cross-host session reuse was possible from those.
- SAML-federated learning systems. Two Drupal LMS instances redirected everything to a corporate SAML identity provider. No unauthenticated surface beyond a captcha-protected login form.
- ArgoCD. Version 3.3.3 was running and was affected by a known Kubernetes-secret-read vulnerability. It was fully auth-gated: password grants, OAuth2 bearer acceptance, token-based session creation, and the CVE endpoint itself all rejected us. We confirmed the vulnerability was present and could not reach it. That is a correct deployment.
- WSO2 API Manager gateways. Actuator paths blocked at the edge, no unauthenticated documentation, no default credentials on the production instances.
The estate was not defenseless. The problem was that the defenses were concentrated on the production front doors, while the systems that observe, log, and test those front doors were unguarded.
3. The findings that mattered
Each finding is written in three layers: a plain-language summary for decision-makers, the technical detail for engineers, and the kill chain for anyone assessing resilience.
How the estate was mapped
Every finding below traces back to one enumeration pass, and to a specific decision: rather than attacking the well-known corporate homepage, we attacked the long tail of internal-sounding hostnames that had been registered over a decade and never retired.
3.1 An unauthenticated log cluster exposing production secretsCritical
In plain terms. This is the finding everything else hangs off, so it is worth understanding precisely.
The company runs a search and log-analysis cluster — the same kind of software that powers observability dashboards. It was reachable from the open internet with no username, no password, and no network restriction. Anyone who typed its address into a browser could read every log line the company's warehouse system had written.
Those logs were not sanitised. Every time the warehouse API authenticated a request, the request body containing the OAuth client secret went into the log. Every time an administrator changed a password, the new password went into the log. Every customer invoice that passed through the API went into the log, complete with the customer's name, street address, postal code, phone number, tax identifier, and payment reference.
So a server that was supposed to help engineers debug problems had become a readable archive of production credentials and customer personal data, open to the internet.
What. An OpenSearch 2.19.3 cluster on a public hostname with the security plugin absent entirely — /_security/_authenticate returned "no handler found", meaning no authentication module was even installed. Approximately 130 production indices were anonymously readable, totalling hundreds of millions of log documents and over 100 GB of storage.
Contents discovered through unauthenticated queries:
- Four distinct OAuth2 client credential pairs, logged as request bodies to the token endpoint
- Two plaintext Django admin passwords, logged as password-change audit records
- Customer invoice payloads including name, street address, postal code, phone, tax identifier, and payment reference
- Internal infrastructure hostnames revealing the underlying Azure Container Apps environment
How we found it. Standard HTTP triage across the 598 live hosts. The hostname followed the company's internal naming convention for warehouse-management components, and the cluster's root endpoint answered with its version and cluster name to any unauthenticated request. No probing sophistication was required — a GET / was enough to confirm it, and GET /_cat/indices listed the entire index inventory.
The genuinely important step was what we queried for once we were inside. A less disciplined tester would have stopped at "unauthenticated cluster, indices readable" and written a Medium. We searched the log contents for the strings that matter: token, password, client_secret. That is the difference between reporting a misconfigured server and reporting the credential archive behind a critical data breach.
Root cause. Two failures compounding. First, the cluster was deployed without its security plugin and bound to a public hostname — a deployment error. Second, the application logging pipeline wrote request bodies verbatim, including credential fields — a systemic engineering decision that would have leaked secrets regardless of where the cluster lived.
Impact. The cluster was the single source of every subsequent critical finding. On its own it already constituted a serious data-protection breach: production customer personal data, readable by anyone, indefinitely, with no evidence trail unless the cluster's own access logs were reviewed.
Fix. Enable the security plugin and network restrictions immediately; rotate every credential that appeared in those logs, because they must be treated as published. Then fix the logging pipeline so credential fields are redacted before they reach disk — otherwise rotating the secrets just buys time until the next leak.
Kill chain. This is the shortest chain in the engagement and the most damaging. No exploit, no payload, no credential. The entire chain is reconnaissance followed by reading.
3.2 Leaked OAuth credentials mint live production API tokensCritical
In plain terms. The secrets we recovered from the log server were not stale. They were the live credentials the warehouse management platform uses to talk to itself. We presented one to the production token endpoint and it handed back a working API token with full read-and-write scope.
This is the point where a log misconfiguration became production access. The API was correctly built — it required a token, it checked the token, it enforced warehouse-level authorisation. But the credential that gets you past all of that was sitting in a readable text file on the internet.
What. The OAuth2 client-credentials grant on the production warehouse backend accepted secrets recovered from the log cluster and returned bearer tokens with read write scope, valid for ten hours. Two separate leaked pairs were validated, confirming the credentials were live and had not been rotated.
How we found it. The credential pairs came out of log documents containing POST /o/token/ requests. We extracted client_id and client_secret from the request bodies, then replayed the same grant against the production token endpoint. The response was a standard OAuth success — token, expiry, scope — and the token was accepted by the API, returning a warehouse-authorisation error rather than an authentication error. That distinction is what proved the token was genuine: the API recognised the identity and only objected to which warehouse we were asking about.
Root cause. Identical to 3.1 for the exposure. The distinct failure here is that a service principal credential had full read-write scope across a production system with no per-warehouse binding enforced at token issuance, and no rotation since the leak.
Impact. A working, full-scope production API credential for a downstream distribution platform, obtainable by anyone who read a public log server. The read write scope is the complete API scope — the only remaining barrier was knowing which warehouse the principal was bound to.
Fix. Rotate every leaked client secret immediately and treat them as burned. Restrict client-credentials issuance to known service principals, scope tokens to a single warehouse rather than full read-write, and stop logging token request bodies.
Kill chain. Recon through exfiltration, with the credential supplying everything between.
3.3 Warehouse resolution leading to 31,480 SKUs and 578 invoicesCritical
In plain terms. We had a valid production API token, but every request came back saying we did not have access to that warehouse. The token knew who it was, but not where.
Here is where the second credential from the log server became decisive. We also had a Django admin password. We logged into the production admin console, found the OAuth application record corresponding to our token, traced it to its owning user account, and read that user's assigned warehouse. One identifier. We set it as a header, sent the request again, and the production data came back.
This is the moment the engagement went from "configuration findings" to "production data breach". We retrieved 31,480 product line items — prices, barcodes, tax classification codes, supplier IDs, categories — and 578 customer invoices with amounts, dates, discounts, and tax figures, for a live downstream distribution centre.
What. Using the leaked OAuth credential combined with the Django admin session, we resolved the service principal's warehouse binding (a four-character internal site code), then queried the product catalogue and invoice endpoints with that warehouse header. Both returned production data:
/api/v1/core/products/→ 31,480 records across 3,148 pages: SKU codes, descriptions, brands, categories, prices, list prices, cost prices, product barcodes, tax classification codes, supplier IDs/api/v1/outbound/invoice/→ 578 records: invoice numbers, quantities, dates, discount amounts, invoice amounts with tax, tax fields, invoiced-by identity
How we found it. Three steps, each unremarkable on its own.
First, we tried warehouse identifiers directly. Numeric IDs 1 through 100, then alphanumeric codes harvested from the log contents. Every one returned a warehouse-authorisation error, which told us the binding was to a single specific warehouse we had not guessed.
Second, we used the admin credential from the same log cluster. The Django admin console on the production backend was internet-reachable with no network restriction. We logged in, opened the OAuth application list filtered by our token's client ID, and followed the application record to its owning user. The user detail page exposed current_warehouse — the internal site code.
Third, we replayed the product and invoice requests with Warehouse: <site-code>. Both returned 200 with production data on the first try.
Root cause. Two independent weaknesses that only became critical together. The admin console had no network restriction and its password had leaked. The API's authorisation model checked that a Warehouse header was present and matched the principal's binding, but did not prevent a client with read write scope from reading everything in that warehouse — including financial data the service principal had no business reason to see.
Impact. Full product master and customer financial records for a live distribution centre, extractable by any internet client holding the leaked secret. SKU pricing and cost data is commercially sensitive; invoice data is customer financial information with regulatory implications under data-protection law.
Fix. Rotate the secret and the admin password. Restrict /admin/ to internal networks. Most importantly, bind client-credentials tokens to an explicit warehouse claim at issuance so that resolving the binding is not a privilege-escalation step, and drop read write scope for service principals that only need specific resources.
Kill chain. This is the full chain — the only one in the engagement that reaches stage six with production data in hand.
3.4 Cross-domain credential theft via CORS and cookie scopeCritical
In plain terms. This finding is different from the others: it is not about a missing password. It is about a design assumption that no longer holds.
The company's attendance application stores its login token in a cookie that is valid across every subdomain of the corporate domain, and is readable by JavaScript rather than locked away from it. Meanwhile, the API behind that application accepts requests from any subdomain, with credentials enabled.
Put those together and the security model collapses. If an attacker controls any single subdomain — through a forgotten host, a subdomain takeover, an XSS on a marketing page, anything — they can read a user's token from that cookie and replay it against the attendance API. Not one application is compromised. The whole subdomain trust boundary is.
What. The API gateway reflects any origin on the corporate domain suffix in Access-Control-Allow-Origin with Access-Control-Allow-Credentials: true. A non-matching origin receives no CORS header at all, confirming this is a suffix-based allowlist rather than a wildcard. Separately, the single-page application stores its OAuth access_token as a cookie scoped to the parent domain with no httpOnly flag, derived by stripping the first label from the hostname.
How we found it. The CORS behaviour surfaced during API host probing — sending an arbitrary subdomain origin and observing the reflection. On its own that is a Medium finding, which is what we initially recorded it as.
The escalation came from reading the application's own JavaScript bundle. We found the cookie-setting call, the domain derivation logic, and the axios interceptor that reads the cookie back into an Authorization: Bearer header. Reading the client code is what turned a configuration finding into a critical one: the CORS reflection alone is unremarkable, but a non-HttpOnly domain-wide token cookie plus credentialed reflection is a complete cross-tenant credential-theft primitive.
Root cause. Architectural. The application treats the corporate domain suffix as a trust boundary, which means every subdomain — including ones owned by marketing, by vendors, by contractors, or forgotten entirely — is inside that boundary. Combined with storing the token where any script can read it, the boundary is not a boundary.
Impact. A single compromised or attacker-controlled subdomain can steal identity tokens from any user of the attendance platform and drive the entire API surface as that user. Given how many forgotten hosts exist in a ~3,200-subdomain estate — and this engagement found several with takeover candidates — the "attacker-controlled subdomain" precondition is not hypothetical.
Fix. Scope the cookie to the application's own host rather than the parent domain, and mark it HttpOnly so scripts cannot read it. Replace the suffix-match CORS allowlist with an explicit origin list. The first fix alone removes the exfiltration path.
Kill chain. Reconnaissance through credential theft, with the precondition being any foothold on a sibling subdomain.
3.5 Unauthenticated demand-forecasting API across the distribution networkHigh
In plain terms. A supply-chain planning API on a test environment required no login at all. It exposed demand forecasts and stock positions across the company's entire downstream distribution network — warehouses, super-distribution centres, and market nodes.
This is not customer data. It is competitive intelligence. Stock levels, reorder points, consumption rates, and demand classifications across a national distribution network are exactly what a competitor or an investor would pay for, and they were readable by anyone.
What. The IMS demand-forecasting API on a UAT host served forecast data with no authentication and no object-level authorisation. Three endpoints were fully open: data-source definitions, job enumeration, and per-job results. The result endpoint took a numeric job ID with no ownership check, so iterating 1 through 75 retrieved every calculation job in the system.
The two largest jobs held 36,820 and 20,587 part records. Data fields included part numbers, descriptions, brand codes, ABC classification, warehouse location codes, pooled consumption, current stock, open orders, lead times, safety stock, and demand status.
How we found it. Straightforward unauth-API enumeration during the non-production host wave. The endpoint paths followed a predictable REST convention, and the first request returned data rather than an authentication challenge.
The methodical part was the IDOR sweep. Once one job returned rows, we iterated the identifier space rather than stopping at the first result. That is what converted a single exposed endpoint into full enumeration of 75 jobs and roughly 57,000 part records.
Root cause. No authentication or authorisation middleware on the entire /api/v1/ims/forecast/* route group, and the results endpoint performed no ownership check on its path parameter. The backend was designed as an internal service and deployed to a UAT hostname that resolved publicly.
Impact. Commercially sensitive inventory-planning data across a national downstream distribution network: exact stock positions, reorder thresholds, consumption history, and demand status classified as critical or excess. Competitively valuable and operationally sensitive.
Fix. Authenticate the route group, enforce object-level authorisation on the job identifier, and stop deploying internal services to publicly resolving UAT hostnames.
Kill chain. The full read chain — recon, enumeration, exploitation, collection, exfiltration — with no credential at any stage.
3.6 Identity server default credentials on two environmentsHigh
In plain terms. Two of the company's identity-management servers accepted the username admin with the password admin. These are the servers that decide who is allowed to log into other systems. Default credentials on an identity provider are among the most serious misconfigurations possible, because the whole point of the system is to be the thing that cannot be bypassed.
What. WSO2 Carbon 6.1.0 admin consoles on a QA host and a pre-production host both accepted admin / admin at the Carbon login endpoint. Authentication returned a session cookie and a redirect that only occurs for authenticated sessions, confirming genuine administrative access rather than a login-page illusion.
How we found it. Default-credential testing is the least sophisticated technique in the book, and that is precisely why it is worth running. These were bespoke internal applications, so blind password guessing was out of scope — but WSO2 is a commercial product with documented defaults, and those are always worth one request. The console responded correctly on both hosts.
We verified the session properly rather than trusting the login response: requesting the management console with the issued cookie produced a redirect to the admin index, which only happens for an authenticated session. An unauthenticated request returns the homepage without redirecting.
Root cause. Product installed with vendor defaults and never provisioned. The console paths were additionally behind a WAF, but the WAF blocked post-login navigation rather than blocking the default credential itself — so the control that existed did not address the actual risk.
Impact. Administrative control over identity-management servers in two environments. What an attacker does with that depends on what those identity servers federate to — and in this estate they federate to the applications that held the other findings.
Fix. Change the password, rename or disable the default admin account, and restrict /carbon/admin/* to internal networks. The WAF should be configured to reject the default credential rather than merely restricting post-login pages.
Kill chain. Trivial and short.
3.7 Server-side request forgery in an AI service backendHigh
In plain terms. A machine-learning service that processes documents and audio for a CRM had endpoints that fetch URLs on the caller's behalf, with no authentication. That means anyone can ask the service to make requests to addresses it can reach but the internet cannot — internal services behind the firewall.
We used it as a probe to map internal infrastructure. We could tell which internal ports were open by the different error messages, and we confirmed a live internal service running on the loopback interface. We also found an asynchronous callback parameter that would let an attacker direct a server-side request to their own infrastructure.
Cloud credential theft — the usual goal of this class of bug — was a dead end, because the service runs in a colocation facility rather than a cloud provider with metadata endpoints.
What. Six unauthenticated request sinks across eight parameter slots on the vendor AI backend service. Three were reflective — they returned the response body, giving a readable oracle. Three were blind, appending a fixed path to an attacker-supplied base URL and reflecting the resulting HTTP status and connection error. Two accepted a returnUrl parameter for asynchronous callbacks.
Cloud metadata was tested and confirmed unreachable: AWS, GCP, and Azure metadata endpoints all failed from that network position. file:// and gopher:// schemes were blocked by the Python HTTP client.
How we found it. The service exposed a complete OpenAPI specification without authentication, listing every endpoint and every parameter — including the four URL-accepting parameters. That handed us the sink inventory.
The work that made it a real finding was the error-differentiation technique. The blind sinks did not return response bodies, but they did return distinguishable errors: connection refused versus timeout versus HTTP status. By pointing the baseUrl parameter at different loopback ports and comparing error text, we could map which internal services were listening. That is what confirmed a live service on port 5000 and turned "blind SSRF" into "internal service oracle".
Root cause. No authentication on the service at all — every endpoint operated without a credential because the service was designed to be called only by a trusted internal frontend. URL parameters were passed to the HTTP client with no allowlist and no private-address blocking.
Impact. Unauthenticated HTTP-proxy capability into the internal network, internal topology mapping via error differentiation, and a blind write primitive through the async callback. Cloud metadata was unreachable, which limits the severity considerably — this is infrastructure reconnaissance rather than credential compromise.
Fix. Authenticate the endpoints, allowlist the URL parameters against known internal hosts, and block private and loopback address ranges at the HTTP client layer.
Kill chain. Reconnaissance-oriented; the chain stops before credential theft.
Also confirmed
| Finding | Severity | Note |
|---|---|---|
| Credentialed CORS on HR platform SSO endpoints | High | Arbitrary origin reflection with credentials on three hosts |
| Captcha answer returned in plaintext by API | High | Anti-automation control fully bypassable; no rate limit compounds it |
| Client-side HMAC checksum keyed on attacker-chosen value | High | Integrity gate on a finance login flow is forgeable |
| Hardcoded Basic credential served from a public config endpoint | High | Application bootstrap secret readable unauthenticated |
| FusionAuth OIDC issuer mismatch enabling confusion attacks | High | Issuer reports a different hostname than it serves on |
| Hardcoded AES key and zero IV in client-side captcha code | Medium | Captcha encryption reversible from shipped JavaScript |
| Internal CRM backend and auth bootstrap disclosure | Medium | Frontend bundle reveals backend endpoint and auth mechanism |
| Global CORS wildcard on a UAT API gateway | Medium | Any origin permitted, no credentials — enumeration enabler |
| OAuth client_id enumeration oracle on an identity server | Medium | Response differential reveals valid client identifiers |
| SAP SRM supplier portal with internal hostname disclosure | Medium | Supplier portal reachable with internal naming leaked |
| Bold BI OIDC misconfiguration with verbose stack traces | Medium | Third-party BI platform misconfigured and verbose |
| Unauthenticated AI service log access with IDOR | Medium | Per-user log endpoint readable by any caller |
| Full microservice route map recovered from SPA bundles | Medium | Complete API surface disclosure across attendance, payroll, employee |
| ArgoCD API schema exposed unauthenticated | Low | Full API surface disclosure; no data access |
| Hardcoded OAuth client_id and auth flow in identity JS | Low | Client identifier is public by design; full flow disclosed |
| Wildcard CORS without credentials on several hosts | Low | Enumeration enabler only |
| Spring Boot Actuator partially exposed | Low | Internal hostname disclosure |
| Outdated Liferay version disclosed | Low | EOL platform; jsonws blocked at edge |
| Environment mislabel on a production host | Low | QA header on a production service |
| Hardcoded Google Maps API keys | Low | Client-side keys; usage-abuse risk only |
4. Kill chain summary
All confirmed findings on one map. Three chains reached exfiltration of production data; the rest stopped before it.
| Chain | Reached | Terminated at | Persistence |
|---|---|---|---|
| Unauthenticated log cluster | Stage 6 (exfiltration) | Read boundary | Not attempted |
| OAuth token minting | Stage 5 (collection) | Warehouse binding | Not attempted |
| Warehouse resolution | Stage 6 (exfiltration) | Production data retrieved | Not attempted |
| Cross-domain CORS | Stage 4 (exploit) | Primitive proven, no victim | Bounded by token TTL |
| IMS forecasting API | Stage 6 (exfiltration) | Read boundary | Not attempted |
| WSO2 default credentials | Stage 4 (exploit) | Session obtained | Not attempted |
| SSRF | Stage 5 (collection) | No metadata, no credentials | Not attempted |
5. What the shape of this engagement teaches
Observability infrastructure is now part of the attack surface, and it is usually unguarded. The log cluster was not a forgotten development server. It was a load-bearing production system. But because it is not customer-facing, it never received the authentication and network controls that customer-facing systems received. Every estate running an unauthenticated search or log cluster is one credential-in-logs bug away from a critical breach.
Never log secrets, because the log will outlive the intent. The organisation did not decide to publish its OAuth secrets. It decided, implicitly, not to redact request bodies — a decision made once years ago and inherited by every service since. It is worth auditing what your logging pipeline captures, because the audit either closes a critical finding or confirms you do not have one.
One credential changes the character of an engagement. Everything before the Django login was configuration findings and a Medium or two. The admin password from the same log cluster turned a working-but-limited API token into full production data. When you find a credential store, work it exhaustively — the second credential is often what unlocks the first.
A domain suffix is not a trust boundary. Treating the whole corporate domain suffix as trusted was reasonable when the organisation had fifteen subdomains. At roughly 3,200, with marketing pages, vendor portals, takeover candidates, and forgotten test hosts, the suffix means nothing. The attendance platform's cookie and CORS configuration rest on that obsolete assumption.
Test environments consistently hold production data with reduced protection. This engagement found live demand forecasts, an open spare-parts API, default identity-server credentials, and a full-warehouse API credential on UAT, staging, and pre-production hosts. Non-production environments are where real data goes to escape supervision.
Recommended sequence
Ordered by risk closed per unit of effort, not by severity.
| Priority | Action | Why first | Effort |
|---|---|---|---|
| 1 | Take the OpenSearch cluster off the public internet and enable its security plugin | Minutes to apply; kills the root of three critical findings | Very low |
| 2 | Redact credential and PII fields in the logging pipeline, then verify by sampling logs | Prevents immediate re-leak after rotation; without this, rotation is theatre | Low |
| 3 | Rotate every OAuth secret, admin password, and Basic credential that appeared in logs | They are published; rotation is the only remedy | Low |
| 4 | Restrict production /admin/ paths to internal networks | Removes the admin-assisted escalation path in 3.3 | Low |
| 5 | Change WSO2 default credentials and rename the admin account on all environments | Identity-provider defaults are the worst class of default | Very low |
| 6 | Replace suffix-match CORS with an explicit origin list; scope the token cookie to its own host and mark it HttpOnly | Closes the cross-tenant credential primitive | Medium |
| 7 | Authenticate the IMS and spare-parts APIs; enforce object-level authorisation on job identifiers | Test environments are leaking live planning data | Low |
| 8 | Bind client-credentials tokens to an explicit warehouse claim and drop unnecessary read write scope | Removes warehouse resolution as an escalation step | Medium |
| 9 | Establish ownership and network placement for every UAT, staging, and pre-production host | Without an owner, all of the above regresses within a release cycle | Organisational |
Notices
Authorization
This was an authorized security assessment. It was performed under a written engagement agreement with the system owner, who granted explicit permission to test the in-scope systems described above. All testing was conducted within the agreed scope and rules of engagement. No system was accessed, modified, or exfiltrated outside that authorization.
Production data access was limited to read operations required to demonstrate impact. No records were altered or deleted. Where a step would have required changing production state — administrative actions in the Django console, exploitation of the unreachable ArgoCD vulnerability, destructive testing against live systems — the assessment stopped and documented the capability instead.
Redaction
Every hostname, bucket name, IP address, credential, and identifier in this document has been replaced with a placeholder. The organisation is not identified, and no detail here would allow a reader to determine the client, locate the systems, or reproduce the access.
Techniques, timelines, agent topology, and finding mechanics are reported exactly as executed, because the methodological value is the point of publishing this.
What was removed:
- All hostnames, subdomains, and bucket names — replaced with placeholders
- All IP addresses, internal ports, and network ranges
- All credential and token values, including client secrets, passwords, Basic auth headers, and API keys
- Organisation, subsidiary, brand, and vendor-product names specific to the client
- Commercial and industry descriptors that would narrow identification to a single company
- Personal names, employee email addresses, customer names, addresses, phone numbers, and payment references
- Exact calendar dates and clock times — replaced with relative day and week numbering
- Exact subdomain counts — rounded to the nearest hundred
- Internal warehouse, site, and project codes
What was kept, deliberately: vendor product names and versions (OpenSearch 2.19.3, Django, WSO2 Carbon 6.1.0, ArgoCD 3.3.3, and similar), because they are common enterprise software shared by thousands of organisations and naming them is what makes the finding actionable for a reader. No combination of retained details identifies the client.
Placeholders used throughout:
| Placeholder | Meaning |
|---|---|
estate.example | The corporate root domain and its subdomain fleet |
wms-os.estate.example | Unauthenticated OpenSearch log cluster |
wms-api.estate.example | Production warehouse management API |
wms-admin.estate.example | Production warehouse admin console |
ims.uat.estate.example | Demand forecasting API on UAT |
workforce-api.estate.example | Attendance platform API gateway |
sso.estate.example | Identity provider with issuer mismatch |
iam.estate.example | WSO2 Carbon identity servers |
ai-svc.example | Machine-learning service with SSRF sinks |
<redacted> | A credential, key, token, or third-party account identifier |
Data handling
No client data is reproduced in this document. Where production data was retrieved as proof of impact, it is described by category and record count only — never by customer name, address, phone number, invoice number, or payment reference. Product data is described by record count and field class, never by actual SKU codes, prices, or brand-level detail beyond what is necessary to convey impact.
No credential values appear in this document. Where a credential is discussed, it is referenced by its role in the chain, not its value.
Disclaimer
Findings reflect the state of the tested systems during the ten-week engagement window. Security posture changes; a clean result in one area is not a guarantee of future posture, and a finding here does not imply the condition persists today. Remediation status is not asserted in this document. Two findings were recorded as open disputes between agents during the engagement — a CVE reachability contradiction on the ArgoCD target — and are reported here as confirmed-present but unreachable rather than resolved.
Methodology and tooling by BlackBit. Findings independently verified; false positives documented and excluded. Published with the client's permission.
← All case studies