Capital One Data Breach 2019 Case Study: How a Cloud Misconfiguration Exposed 100 Million People

By the Cehpoint teamPublished 5 min read

Short answer: In March 2019 an outsider used a misconfigured web application firewall to reach Capital One's cloud storage and copy data on about 100 million people in the US and 6 million in Canada. The US banking regulator, the OCC, later fined Capital One $80 million for failing to assess risk properly before moving to the public cloud. The lesson is that a cloud breach rarely needs a cloud-provider flaw: one misconfigured component with broad permissions is enough, so least privilege, metadata protection and monitoring matter more than tools.

Capital One had moved significant technology operations to the public cloud, a point the US regulator later made central to its penalty. That is what makes its 2019 breach instructive. The cloud provider was not hacked. The bank's data was reached through its own configuration. For Indian companies now moving core systems, customer data and AI workloads to AWS, Azure or Google Cloud, this is the most relevant kind of breach to study.

What happened in the Capital One data breach?

From Capital One's own incident page, the regulator's statement and reporting on the later criminal trial:

  • When: Capital One says the unauthorised access occurred on 22 and 23 March 2019.
  • How it was found: on 17 July 2019, an external security researcher reported a configuration vulnerability through Capital One's responsible disclosure programme. As reported at trial, Capital One was alerted to its S3 data being posted in a GitHub gist. On 19 July, the bank confirmed an outsider had gained access.
  • How access was gained: the attacker, described by The Register as a former Seattle tech worker, reached Capital One's cloud storage through a misconfigured web application firewall (WAF). Reporting on the trial says she used a tool to scan cloud accounts for misconfigurations and targeted more than 30 organisations. She was convicted in June 2022 of wire fraud and computer fraud offences.
  • What was taken: data on approximately 100 million individuals in the United States and approximately 6 million in Canada, mostly from credit card applications. Capital One says about 140,000 US Social Security numbers and about 80,000 linked bank account numbers were involved, plus about 1 million Canadian Social Insurance Numbers. It says no credit card account numbers or log-in credentials were compromised.

What did it cost?

In August 2020 the US Office of the Comptroller of the Currency (OCC) imposed an $80 million civil money penalty. Its reasons are worth reading closely: the bank failed to establish effective risk assessment processes before migrating significant technology operations to the public cloud, and did not correct the deficiencies in a timely way. Capital One also settled customer lawsuits for $190 million, as reported by The Register. The regulator's point is the important one for any board: the failure was in governance of the migration, not only in one setting.

How can a firewall become the way in?

A WAF sits in front of web applications and inspects requests. To do its job it usually runs on a cloud server, and that server has an identity in the cloud with some permissions. Two things then decide how bad a misconfiguration is:

  1. Can an outsider make the component do something it should not, such as forward a request to an internal address? A well-known class of bug, server-side request forgery (SSRF), lets an attacker make a server fetch URLs on their behalf, including internal cloud endpoints such as the instance metadata service, which can hand out temporary credentials.
  2. What can that component's credentials reach? If the firewall's role can list and read storage buckets that hold customer data, any foothold on the firewall becomes a path to that data.

The first is a bug or configuration mistake, and those will always happen. The second is a design decision, and it is where most organisations have room to improve. A WAF has no business reading a bucket of credit card applications.

The cloud controls that prevent this kind of breach

ControlWhat to doWhat it stops
Least-privilege rolesGive each workload a separate role with only the actions and resources it needs. Review roles that have wildcard actions or resources.A foothold in one component reaching unrelated data
Metadata service protectionOn AWS, require IMDSv2 (session tokens); block metadata access from containers that do not need it.Simple SSRF requests stealing instance credentials
Outbound and SSRF filteringProxies and WAFs should not forward requests to internal or link-local addresses.Your own security device being used as a proxy
Data-layer restrictionsBucket policies that allow access only from specific roles and network endpoints; encryption with keys whose use is also restricted.Stolen credentials working from anywhere
Detection on unusual accessAlert on bulk object listing or downloads, new source IPs for a role, and access via anonymising networks.Large-scale copying going unnoticed
Configuration scanningContinuous checks against a baseline (public buckets, open security groups, unused keys, over-broad roles).Known misconfigurations staying open for months
Responsible disclosureA published security contact and a process to act on reports.Capital One learned of this from an outside tip; many companies have no channel for one

The Indian angle: regulators expect the risk assessment

Indian regulated entities face the same expectation the OCC enforced. If you hold personal data, the Digital Personal Data Protection Act, 2023 sets the highest penalty, up to ₹250 crore, for a data fiduciary's failure to maintain reasonable security safeguards to prevent a personal data breach, and the DPDP Rules notified in November 2025 begin an eighteen-month phased compliance period. Under CERT-In's April 2022 directions, specified cyber incidents must be reported within 6 hours of being noticed. A cloud migration with no documented risk assessment would be difficult to defend under either.

In practice, Indian teams moving to the cloud often make predictable choices under deadline pressure: one administrator role reused by every service, access keys for a developer pasted into an application, a staging bucket copied from production and left public, and security groups opened to 0.0.0.0/0 "temporarily". None of these is exotic. All of them are visible to an attacker who scans.

A pre-migration and quarterly cloud review checklist

  1. Inventory: every account, region, bucket, database and public endpoint. Unknown resources are the first finding.
  2. Identity: list roles and users with admin or wildcard permissions. Remove long-lived access keys where roles can be used. Enforce MFA for console users.
  3. Data: classify buckets and databases holding personal or financial data. Check that only named roles can reach them, that encryption is on, and that public access is blocked at the account level.
  4. Edge components: WAFs, reverse proxies, API gateways and image fetchers get special attention for SSRF and for the permissions their servers hold.
  5. Logging: audit logs for API calls and data access are on in every region, stored in a separate account, and kept long enough to investigate (and, under CERT-In directions, ICT system logs for a rolling 180 days within India).
  6. Testing: an external cloud-focused penetration test before go-live and after major changes, plus continuous configuration scanning.
  7. Ownership: one named person accountable for cloud security, with a budget and a reporting line to leadership.

For a broader list of common mistakes, see the patterns that also cause runaway cloud bills: idle resources, leaked keys and missing alerts usually show up in both the security review and the invoice.

How Cehpoint can help

Cehpoint's VAPT service includes cloud configuration review and penetration testing of web applications, APIs and edge components such as WAFs and proxies, with retesting after fixes. For migrations, our cloud and DevOps engineers set up least-privilege roles, logging and guardrails from the start, and a virtual CISO can own the risk assessment and evidence a regulator or enterprise client will ask for.

Frequently asked questions

How did the Capital One data breach happen?

An outsider reached Capital One's cloud storage through a misconfigured web application firewall in March 2019 and copied data from credit card applications. Capital One says it learned of the configuration vulnerability from an external security researcher on 17 July 2019. The attacker, a former Seattle tech worker, was convicted in June 2022.

How many people were affected by the Capital One breach?

Capital One says the incident affected approximately 100 million individuals in the United States and approximately 6 million in Canada. It reports that about 140,000 US Social Security numbers, about 80,000 linked bank account numbers and about 1 million Canadian Social Insurance Numbers were compromised, but no credit card account numbers or log-in credentials.

What penalty did Capital One pay for the 2019 breach?

The US Office of the Comptroller of the Currency imposed an $80 million civil money penalty in August 2020, citing failure to establish effective risk assessment processes before moving significant technology operations to the public cloud. Capital One also settled customer lawsuits, reported at $190 million.

Was AWS responsible for the Capital One breach?

The breach did not come from a flaw in the cloud provider's own infrastructure. It came from how Capital One's components were configured, which falls on the customer under the shared responsibility model. The OCC's penalty was aimed at Capital One's own risk assessment and controls around its cloud migration.

How can a company prevent a cloud misconfiguration breach?

Give each workload a role with only the permissions it needs, protect the instance metadata service (IMDSv2 on AWS), stop proxies and firewalls from forwarding requests to internal addresses, restrict sensitive buckets to named roles, keep audit logs in a separate account, and run continuous configuration scanning plus regular penetration tests of internet-facing components.

Need help with this?

Tell us what you are dealing with. We reply with a plain plan, and where it makes sense, a working demo before you commit.