Skip to main content
BhishmaSec
Intelligence Blog›API Security
API Security

The Optus Breach: 10 Million Australians Exposed Because an API Endpoint Required No Authentication

BhishmaSec Intelligence·Published September 2022·Updated September 2026·10 min read
API SecurityBOLAUnauthenticated EndpointTelecomOWASP API Top 10Data Breach

TL;DR — Executive Summary

Optus, Australia's second-largest telecommunications provider, suffered a data breach affecting up to 9.8 million current and former customers after an attacker discovered an API endpoint that was accessible without any authentication token on the public internet. The endpoint returned sequential customer records in response to sequential ID queries — a textbook Broken Object Level Authorization (BOLA) vulnerability compounded by a complete absence of authentication at the API gateway layer. The attacker exfiltrated records over a period of days before being discovered, and initially attempted extortion before abandoning the demand and releasing 10,000 records publicly. 2.1 million customers had government identity documents at sufficient risk to require replacement.

Incident Impact Overview

Incident DateSeptember 2022
OrganisationOptus (Singtel subsidiary, Australia)
Records Exposed9.8 Million Customer Records
Population Impact~38% of Australian Population
Data ExposedNames, DOB, Passport/Licence Numbers
ID Documents at Risk2.1 Million Requiring Replacement
Root CauseUnauthenticated API Endpoint (Public)
BhishmaSec DefenseAPI Gateway Auth + Rate Limiting + DAST

An API Endpoint That Should Not Have Existed on the Public Internet

The Optus breach root cause, as reported across Australian parliamentary hearings and subsequent regulatory investigations, was a specific and elementary failure: an API endpoint that provided access to customer identity records was accessible on the public internet without requiring any authentication credential — no bearer token, no API key, no session cookie, no OAuth flow. The endpoint appears to have been a legacy interface that was intended to be accessible only within Optus's internal network or via authenticated enterprise integration pathways, but which had been inadvertently left exposed to the public internet as a result of a network configuration change.

Once an attacker discovered this endpoint — through standard API reconnaissance techniques including directory enumeration, crawling of public-facing mobile app traffic, or review of historical API documentation — the exploitation was trivial. The endpoint accepted sequential numeric customer identifier values as query parameters and returned the corresponding customer record: full name, date of birth, home address, email address, phone number, and government identification numbers including passport numbers and driver licence numbers where provided by the customer for identity verification purposes.

The attacker incremented the customer ID parameter sequentially. Record 1. Record 2. Record 3. For approximately 9.8 million records, this process produced a complete export of Optus's active and former customer identity database — the kind of data that telecommunications providers collect for Know Your Customer (KYC) compliance purposes. The attack required no specialised tooling beyond a script capable of making sequential HTTP GET requests and writing the responses to a file. The barrier to execution was effectively zero.

BOLA at Scale: When Object-Level Authorization Is Completely Absent

The OWASP API Security Top 10 identifies Broken Object Level Authorization (BOLA) — previously known as Insecure Direct Object Reference (IDOR) — as the most prevalent and impactful API security vulnerability category. BOLA describes a condition in which an API endpoint returns records associated with arbitrary object identifiers supplied by the requester, without verifying that the authenticated user or session is entitled to access those specific records. The correct control is authorisation verification on every record request: does this token's associated identity have permission to access record ID 47,832? If not, return 403.

The Optus case was an extreme manifestation of this vulnerability class: BOLA compounded by a complete absence of authentication at the endpoint. There was no authenticated session to check authorisation against. The API accepted unauthenticated requests and returned whatever record corresponded to the supplied customer ID. This is not a subtle implementation bug. It is an endpoint that was designed for internal use — where caller identity was assumed to be trusted — exposed on the public internet where no such assumption is warranted.

For API security practitioners, the Optus incident represents the distinction between authentication (verifying who you are) and authorisation (verifying what you are permitted to access). Authentication-only controls — requiring a valid API key or bearer token — are necessary but not sufficient if a valid key authorises access to all records regardless of the key's associated identity scope. The complete absence of authentication in the Optus case meant the API security failure manifested at the most fundamental layer possible.

The Extortion Attempt and the Regulatory Aftermath

Following the data exfiltration, the attacker — using the handle 'optusdata' — posted a ransom demand on a cybercriminal forum, requesting AUD $1.5 million in Monero cryptocurrency in exchange for deletion of the stolen data. The post included a sample of 100 records as proof of possession. When Optus declined to negotiate and the Australian Federal Police's Operation Guardian — a task force established specifically to protect the most severely affected customers — made clear that law enforcement was actively engaged, the attacker deleted their forum post and released 10,000 records publicly before apparently abandoning the extortion campaign.

The regulatory and legislative response in Australia was significant and rapid by the standards of data protection reform. The Australian government used emergency legislative powers to temporarily allow telecommunications companies to share breach data directly with financial institutions — enabling banks to flag accounts associated with compromised credentials for enhanced monitoring. The Privacy Act was subject to accelerated review, with the government announcing plans to increase maximum penalties for serious or repeated data breaches from AUD $2.2 million to AUD $50 million or 30% of adjusted turnover in the relevant period — a change that brought Australia's penalty regime closer to GDPR-scale deterrence.

For the 2.1 million customers whose passport or driver licence numbers were assessed as having been exfiltrated, the Australian government agreed to cover the cost of passport replacement documents. Driver licence replacement costs were shared between state governments and, in some cases, Optus directly. The total cost to Optus — including remediation, customer notification, identity protection services, regulatory fines, and reputational damage — is estimated in the hundreds of millions of Australian dollars for an attack whose technical execution required a sequential HTTP request loop.

Why API Authentication Gaps Are Endemic — and How to Find Them

The Optus endpoint failure was not unique in the telecommunications sector. Unauthenticated or inadequately authenticated API endpoints exist across large enterprises wherever internal-facing interfaces have been inadvertently exposed externally — through firewall rule changes, cloud migration projects that altered network perimeters, or microservices architectures where individual service endpoints are deployed without the authentication middleware applied to the primary API gateway.

The specific failure mode — an internal API endpoint becoming publicly accessible after a network configuration change — is precisely the class of exposure that traditional perimeter security assessments do not systematically identify, because the exposure does not exist at the time of the assessment and is introduced operationally. Continuous API security testing and automated API inventory discovery are required to catch these exposures when they occur, not at the next scheduled penetration test engagement.

Dynamic Application Security Testing (DAST) tools and API-specific security scanners can identify unauthenticated endpoint exposure through automated crawling and authentication bypass testing. But the fundamental control gap in the Optus case was not detection failure — it was the absence of a mandatory authentication requirement enforced at the API gateway layer for all endpoints regardless of their intended internal or external classification. An API gateway policy that blocks any request without a valid bearer token to all endpoints, by default, with explicit allowlisting of genuinely public endpoints, would have prevented this breach entirely.

Key Takeaways for Security Leaders

  • Unauthenticated API endpoints that return customer records are a critical vulnerability regardless of intended internal access classification. Authentication must be enforced at the API gateway layer for every endpoint by default.
  • BOLA (Broken Object Level Authorization) remains the most impactful API vulnerability class. Even authenticated endpoints must verify that the caller's identity scope authorises access to each specific requested record — a valid token is not authorisation for all records.
  • Network configuration changes — firewall rule modifications, cloud migrations, microservice deployments — are the operational vector through which internal-only endpoints become publicly exposed. Continuous API inventory and exposure scanning must run as operational controls, not point-in-time assessments.
  • Sequential object ID enumeration is the simplest possible exploitation technique for BOLA vulnerabilities. Rate limiting and sequential enumeration detection are not sufficient defences — they delay, not prevent, data exfiltration at scale. Object-level authorisation is the only mitigation.
  • Government identity document numbers (passport, driver licence) in a breach data set create obligations — and costs — that vastly exceed those of a standard contact data breach. Data minimisation policies should explicitly limit collection of government identifiers to the regulatory minimum required.
  • Australia's post-Optus penalty reform — increasing maximum fines from AUD $2.2M to AUD $50M — reflects the direction of data protection legislation globally. GDPR-scale penalties for data breach are becoming the regulatory baseline, not the exception.

BhishmaSec Architectural Mitigation Blueprint

We conduct API Security Assessments aligned to OWASP API Security Top 10, with specific focus on Broken Object Level Authorization (BOLA) testing across every endpoint in your API surface — including internal-facing APIs accessible from network segments that may be reachable from the internet following infrastructure changes. We deploy API Gateway configuration reviews to verify that authentication is enforced by default on all routes, with explicit allow-listing of genuinely public endpoints and automated alerting on any new endpoint registration without authentication middleware. We configure sequential enumeration detection and rate limiting in API gateways (Kong, AWS API Gateway, Apigee) with automated IP blocking thresholds calibrated to distinguish legitimate high-volume API consumers from enumeration attacks. We integrate DAST API scanning into CI/CD pipelines so that unauthenticated endpoint exposure is detected at deployment time, not at the next scheduled security engagement. Scoping delivered within 24 hours.

Apply This to Your Architecture

Your organization may have the same structural vulnerability.

BhishmaSec architects assess your environment against the exact attack patterns documented in this analysis — and deliver a tested remediation blueprint within your engagement window.