Skip to content

Case study · Oil & gas

Oil & Energy Group

An unauthenticated log server recording plaintext OAuth client secrets enabled live production API token minting and warehouse inventory exfiltration.

Findings · 27
4 Critical8 High8 Medium7 Low
FindingVulnerabilitySeverity
3.1An unauthenticated log cluster exposing production secretsAn 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.Critical
3.2Leaked OAuth credentials mint live production API tokensThe 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.Critical
3.3Warehouse resolution leading to 31,480 SKUs and 578 invoicesUsing 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.Critical
3.4Cross-domain credential theft via CORS and cookie scopeThe API gateway reflects any origin on the corporate domain suffix in Access-Control-Allow-Origin with Access-Control-Allow-Credentials: true.Critical
3.5Unauthenticated demand-forecasting API across the distribution networkThe IMS demand-forecasting API on a UAT host served forecast data with no authentication and no object-level authorisation.High
3.6Identity server default credentials on two environmentsWSO2 Carbon 6.1.0 admin consoles on a QA host and a pre-production host both accepted admin / admin at the Carbon login endpoint.High
3.7Server-side request forgery in an AI service backendSix unauthenticated request sinks across eight parameter slots on the vendor AI backend service.High
Credentialed CORS on HR platform SSO endpointsArbitrary origin reflection with credentials on three hostsHigh
Captcha answer returned in plaintext by APIAnti-automation control fully bypassable; no rate limit compounds itHigh
Client-side HMAC checksum keyed on attacker-chosen valueIntegrity gate on a finance login flow is forgeableHigh
Hardcoded Basic credential served from a public config endpointApplication bootstrap secret readable unauthenticatedHigh
FusionAuth OIDC issuer mismatch enabling confusion attacksIssuer reports a different hostname than it serves onHigh
Hardcoded AES key and zero IV in client-side captcha codeCaptcha encryption reversible from shipped JavaScriptMedium
Internal CRM backend and auth bootstrap disclosureFrontend bundle reveals backend endpoint and auth mechanismMedium
Global CORS wildcard on a UAT API gatewayAny origin permitted, no credentials — enumeration enablerMedium
OAuth client_id enumeration oracle on an identity serverResponse differential reveals valid client identifiersMedium
SAP SRM supplier portal with internal hostname disclosureSupplier portal reachable with internal naming leakedMedium
Bold BI OIDC misconfiguration with verbose stack tracesThird-party BI platform misconfigured and verboseMedium
Unauthenticated AI service log access with IDORPer-user log endpoint readable by any callerMedium
Full microservice route map recovered from SPA bundlesComplete API surface disclosure across attendance, payroll, employeeMedium
ArgoCD API schema exposed unauthenticatedFull API surface disclosure; no data accessLow
Hardcoded OAuth client_id and auth flow in identity JSClient identifier is public by design; full flow disclosedLow
Wildcard CORS without credentials on several hostsEnumeration enabler onlyLow
Spring Boot Actuator partially exposedInternal hostname disclosureLow
Outdated Liferay version disclosedEOL platform; jsonws blocked at edgeLow
Environment mislabel on a production hostQA header on a production serviceLow
Hardcoded Google Maps API keysClient-side keys; usage-abuse risk onlyLow

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 wrongBusiness impactWho decides
1Production API credentials are being written to logs in cleartextThis 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
2Customer PII and payment references sat in readable application logsNames, 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
3Production admin console was reachable from the internet with a password recovered from logsDjango admin on the production warehouse backend had no network restriction. Combined with credential reuse across systems, one log leak became administrative access.Security operations
4Test and pre-production environments hold live data with production protections removedDemand 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
5Cross-domain session architecture lets any subdomain read another's identity tokenThe 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.

MetricValue
Active days5 (one concentrated 8.8-hour session, one 24-hour window, three short follow-ups)
Active machine time~33 hours
Root workstreams4 (staged across 10 weeks)
Total Swarm Size50
Delegated specialist sessions46
Distinct agent roles4
Peak concurrent sessions5
Tool calls executed3,939
HTTP probes2,083
Shell commands1,147
Browser-driven inspections71
Raw entries in the engagement ledger52 before de-duplication
Detailed findings in sections 3.1–3.74 critical, 3 high; additional findings listed separately
Subdomains enumerated~3,200
Subdomains resolving~1,260
Live HTTP hosts598
Production data extracted31,480 SKUs, 578 invoices, 75 forecast jobs
OS foothold achievedNone

Agent topology

RoleSessionsResponsibility
Orchestrator4Scope, phase transitions, merge and re-rank
Hunter35Wave-level exploitation across assigned host groups
Recon3Subdomain enumeration, DNS, HTTP triage
General8Long-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.

Fig 01 · Agent topology
Fig 01 · Agent topology

Wave timeline

WaveWindowFocusOutcome
1Week 1, day 1 (8.8 hours)Full estate recon: DNS, HTTP triage, initial waves~3,200 subdomains, 598 live, exploitation begins
2Week 1, day 1 (same evening)WMS and analytics deep diveLog cluster found, credentials harvested
3Week 2 (24-hour window)Sustained exploitation across four parallel workstreamsWarehouse data exfiltrated, 52 findings recorded
4Weeks 8 and 10Follow-up verification and closureFinal 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.
Fig 02 · 2. What held
Fig 02 · 2. What held

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.

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

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.

Fig 04 · 3.1 An unauthenticated log cluster exposing production secrets
Fig 04 · 3.1 An unauthenticated log cluster exposing production secrets

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.

Fig 05 · 3.1 An unauthenticated log cluster exposing production secrets — Kill chain
Fig 05 · 3.1 An unauthenticated log cluster exposing production secrets — Kill chain

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.

Fig 06 · 3.2 Leaked OAuth credentials mint live production API tokens
Fig 06 · 3.2 Leaked OAuth credentials mint live production API tokens

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.

Fig 07 · 3.2 Leaked OAuth credentials mint live production API tokens — Kill chain
Fig 07 · 3.2 Leaked OAuth credentials mint live production API tokens — Kill chain

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.

Fig 08 · 3.3 Warehouse resolution leading to 31,480 SKUs and 578 invoices
Fig 08 · 3.3 Warehouse resolution leading to 31,480 SKUs and 578 invoices

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.

Fig 09 · 3.3 Warehouse resolution leading to 31,480 SKUs and 578 invoices — Kill chain
Fig 09 · 3.3 Warehouse resolution leading to 31,480 SKUs and 578 invoices — Kill chain

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.

Fig 10 · 3.4 Cross-domain credential theft via CORS and cookie scope
Fig 10 · 3.4 Cross-domain credential theft via CORS and cookie scope

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.

Fig 11 · 3.4 Cross-domain credential theft via CORS and cookie scope — Kill chain
Fig 11 · 3.4 Cross-domain credential theft via CORS and cookie scope — Kill chain

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.

Fig 12 · 3.5 Unauthenticated demand-forecasting API across the distribution network
Fig 12 · 3.5 Unauthenticated demand-forecasting API across the distribution network

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.

Fig 13 · 3.5 Unauthenticated demand-forecasting API across the distribution network — Kill chain
Fig 13 · 3.5 Unauthenticated demand-forecasting API across the distribution network — Kill chain

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.

Fig 14 · 3.6 Identity server default credentials on two environments
Fig 14 · 3.6 Identity server default credentials on two environments

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.

Fig 15 · 3.6 Identity server default credentials on two environments — Kill chain
Fig 15 · 3.6 Identity server default credentials on two environments — Kill chain

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.

Fig 16 · 3.7 Server-side request forgery in an AI service backend
Fig 16 · 3.7 Server-side request forgery in an AI service backend

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.

Fig 17 · 3.7 Server-side request forgery in an AI service backend — Kill chain
Fig 17 · 3.7 Server-side request forgery in an AI service backend — Kill chain

Also confirmed

FindingSeverityNote
Credentialed CORS on HR platform SSO endpointsHighArbitrary origin reflection with credentials on three hosts
Captcha answer returned in plaintext by APIHighAnti-automation control fully bypassable; no rate limit compounds it
Client-side HMAC checksum keyed on attacker-chosen valueHighIntegrity gate on a finance login flow is forgeable
Hardcoded Basic credential served from a public config endpointHighApplication bootstrap secret readable unauthenticated
FusionAuth OIDC issuer mismatch enabling confusion attacksHighIssuer reports a different hostname than it serves on
Hardcoded AES key and zero IV in client-side captcha codeMediumCaptcha encryption reversible from shipped JavaScript
Internal CRM backend and auth bootstrap disclosureMediumFrontend bundle reveals backend endpoint and auth mechanism
Global CORS wildcard on a UAT API gatewayMediumAny origin permitted, no credentials — enumeration enabler
OAuth client_id enumeration oracle on an identity serverMediumResponse differential reveals valid client identifiers
SAP SRM supplier portal with internal hostname disclosureMediumSupplier portal reachable with internal naming leaked
Bold BI OIDC misconfiguration with verbose stack tracesMediumThird-party BI platform misconfigured and verbose
Unauthenticated AI service log access with IDORMediumPer-user log endpoint readable by any caller
Full microservice route map recovered from SPA bundlesMediumComplete API surface disclosure across attendance, payroll, employee
ArgoCD API schema exposed unauthenticatedLowFull API surface disclosure; no data access
Hardcoded OAuth client_id and auth flow in identity JSLowClient identifier is public by design; full flow disclosed
Wildcard CORS without credentials on several hostsLowEnumeration enabler only
Spring Boot Actuator partially exposedLowInternal hostname disclosure
Outdated Liferay version disclosedLowEOL platform; jsonws blocked at edge
Environment mislabel on a production hostLowQA header on a production service
Hardcoded Google Maps API keysLowClient-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.

Fig 18 · 4. Kill chain summary
Fig 18 · 4. Kill chain summary
ChainReachedTerminated atPersistence
Unauthenticated log clusterStage 6 (exfiltration)Read boundaryNot attempted
OAuth token mintingStage 5 (collection)Warehouse bindingNot attempted
Warehouse resolutionStage 6 (exfiltration)Production data retrievedNot attempted
Cross-domain CORSStage 4 (exploit)Primitive proven, no victimBounded by token TTL
IMS forecasting APIStage 6 (exfiltration)Read boundaryNot attempted
WSO2 default credentialsStage 4 (exploit)Session obtainedNot attempted
SSRFStage 5 (collection)No metadata, no credentialsNot 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.

Ordered by risk closed per unit of effort, not by severity.

PriorityActionWhy firstEffort
1Take the OpenSearch cluster off the public internet and enable its security pluginMinutes to apply; kills the root of three critical findingsVery low
2Redact credential and PII fields in the logging pipeline, then verify by sampling logsPrevents immediate re-leak after rotation; without this, rotation is theatreLow
3Rotate every OAuth secret, admin password, and Basic credential that appeared in logsThey are published; rotation is the only remedyLow
4Restrict production /admin/ paths to internal networksRemoves the admin-assisted escalation path in 3.3Low
5Change WSO2 default credentials and rename the admin account on all environmentsIdentity-provider defaults are the worst class of defaultVery low
6Replace suffix-match CORS with an explicit origin list; scope the token cookie to its own host and mark it HttpOnlyCloses the cross-tenant credential primitiveMedium
7Authenticate the IMS and spare-parts APIs; enforce object-level authorisation on job identifiersTest environments are leaking live planning dataLow
8Bind client-credentials tokens to an explicit warehouse claim and drop unnecessary read write scopeRemoves warehouse resolution as an escalation stepMedium
9Establish ownership and network placement for every UAT, staging, and pre-production hostWithout an owner, all of the above regresses within a release cycleOrganisational

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:

PlaceholderMeaning
estate.exampleThe corporate root domain and its subdomain fleet
wms-os.estate.exampleUnauthenticated OpenSearch log cluster
wms-api.estate.exampleProduction warehouse management API
wms-admin.estate.exampleProduction warehouse admin console
ims.uat.estate.exampleDemand forecasting API on UAT
workforce-api.estate.exampleAttendance platform API gateway
sso.estate.exampleIdentity provider with issuer mismatch
iam.estate.exampleWSO2 Carbon identity servers
ai-svc.exampleMachine-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