A misconfigured firewall and 106 million people: the Capital One breach
Capital One's 2019 breach came from a misconfigured firewall, cloud metadata credentials and over-broad storage access. The full mechanism, explained.

Capital One's breach took two days in March 2019 and was not noticed for almost four months. What ended it was not a security tool. It was an email from an outside researcher on 17 July 2019 reporting a configuration vulnerability, which the bank investigated and, on 19 July, determined to be an actual incident.
The intrusion itself is the clearest worked example available of how a small cloud misconfiguration turns into the exposure of 106 million people's data, and every link in the chain is one that organizations still get wrong.
The mechanism, in plain terms
Capital One has publicly described the cause only as a configuration vulnerability. The technical mechanism became well established through the criminal case and extensive security analysis, and it works like this.
- A misconfigured web application firewall. A web application firewall sits in front of an application and inspects requests. This one was configured in a way that allowed it to be induced to make requests of its own choosing. That is server-side request forgery: you cannot reach an internal address, but you can ask a server that can.
- The cloud metadata service. Cloud virtual machines can ask a special internal address for temporary credentials belonging to the role assigned to them. It is a convenience feature that means applications do not need stored passwords. It is also exactly the wrong thing for an SSRF flaw to be able to reach, because the credentials come back in the response.
- Over-broad permissions on the role. With the role's temporary credentials in hand, an attacker has whatever that role can do. In this case that included listing and reading the contents of cloud storage buckets holding credit card application data.
- Bulk copying. Ordinary cloud tooling was then used to enumerate the buckets and sync their contents out. No malware, no exploit, no unusual software: the attacker used the same commands an engineer would use, with credentials the environment had handed over.
MITRE ATT&CK catalogues step two as abuse of the cloud instance metadata API, and OWASP lists SSRF in its Top 10 precisely because of this escalation path. Cloud providers subsequently hardened the metadata service, offering a session-oriented version that resists simple SSRF retrieval, and that option now exists to be enforced.
What was taken
From Capital One's own published account:
- Approximately 100 million individuals in the US and approximately 6 million in Canada.
- Credit card application data, including names, addresses, dates of birth, self-reported income and similar fields, from applications spanning many years.
- Customer status data, such as credit scores, credit limits, balances and payment history, plus transaction data fragments from a limited number of days.
- About 140,000 US Social Security numbers of credit card customers, with a later update adding roughly 4,700 more customers or applicants.
- About 80,000 linked bank account numbers belonging to secured credit card customers.
- About 1 million Canadian Social Insurance Numbers.
- Not compromised: credit card account numbers and login credentials.
The shape of this is worth noting. The crown jewels in a bank's imagination are card numbers and passwords. What actually left was the application file, which is the raw material for identity fraud and has no expiry date. You can reissue a card. You cannot reissue a date of birth.
Confirmed, reported and unknown
Confirmed
- Capital One's dates: access on 22 and 23 March 2019, researcher report on 17 July, determination on 19 July, public disclosure on 29 July.
- The affected population and data categories above.
- The conviction in June 2022 on wire fraud and five counts of unauthorized access to a protected computer, plus damaging a protected computer, and the later vacating of the original sentence on appeal followed by resentencing.
- The OCC's $80 million penalty in August 2020 and its findings on cloud migration risk assessment, internal audit weaknesses and delayed remediation, plus the Federal Reserve's cease and desist order.
Established through the case and analysis rather than by the bank
- The SSRF-to-metadata-to-storage chain. Capital One has not published a technical account; the mechanism comes from court filings and from security research consistent with them.
- That the perpetrator had previously worked for the cloud provider. That employment is a fact; it was not the means of access, and the intrusion did not depend on insider knowledge unavailable to others.
Unknown
- Exactly which rule was misconfigured and for how long.
- Why nothing detected the enumeration and bulk download for four months.
- The full extent of any onward sharing of the data. Prosecutors described the data being discussed in online forums, and there has been no evidence of broad criminal exploitation of the kind that usually follows.
Why it matters technically
The shared responsibility model is not a slogan. Nothing about this was a cloud provider failure. The storage was the bank's, the role permissions were the bank's, the firewall configuration was the bank's. Moving to cloud infrastructure changes which mistakes are available to you, not whether mistakes matter. The OCC's finding was precisely about risk assessment before migration.
Identity is the new perimeter, and roles are identities. The attacker did not break authentication. They obtained a legitimate identity's credentials and used them normally. The control that constrains this is permission scope: a role attached to a web-facing instance should be able to read the specific resources that application needs and nothing else. Our article on least privilege covers the principle; in cloud environments it is the single highest-value practice there is.
Metadata service hardening is a free win. Requiring the session-oriented version of the instance metadata service, and limiting the hop count so responses cannot be relayed, removes this escalation path almost entirely. It is a configuration setting, available to anyone.
Detection has to cover data access, not just logins. Four months passed. The signal available was unusual bulk listing and reading of storage by a role that does not normally behave that way. Cloud platforms log all of it. Someone has to be looking, with thresholds set. Our cloud security guide goes through the logging that matters.
Outside reports are a detection channel. This breach was found because a researcher had somewhere to send a report and someone read it. A published security contact address and a policy for handling reports is cheap and occasionally decisive.
What an ordinary business should take from it
- Review what your cloud roles can reach. Start with anything attached to something that serves traffic from the internet. Ask whether it can list and read storage it does not need.
- Enforce the hardened metadata service on every instance, and check it is actually enforced rather than merely available.
- Turn on data access logging for your storage and set an alert on bulk reads and on listing operations from unusual sources.
- Keep less application data, for less time. A decade of application forms in a bucket is a decision, not a fact of nature.
- Publish a security contact. A simple page or address so that a researcher who finds your misconfiguration can tell you instead of someone else.
- Treat a cloud migration as a risk event. The OCC's criticism was not about the breach mechanics; it was about not assessing risk before moving. Our business cybersecurity guide covers doing that proportionately.
Had a breach letter from a bank or lender? Scammers imitate these closely. Check the message with CyberWatch AI Scan, and contact the company on a number from your card or statement rather than from the message.
If your data was in it
The data taken was application and status information rather than card numbers, which makes identity fraud the relevant risk rather than card fraud. A credit freeze is the strongest practical protection, with fraud alerts as a weaker alternative. Review your credit file for accounts you did not open, and be wary of callers who already know your address, income or lender, because knowing those things is now very cheap. Our guides to identity theft and account security and reporting identity theft cover the steps.
The short version
A web application firewall was configured so that it could be made to fetch internal addresses. One of those addresses handed out temporary credentials for the server's cloud role. That role could read storage buckets containing a decade of credit card applications, so the attacker listed them and copied them out using ordinary tooling, over two days in March 2019. Nobody noticed until a researcher wrote in four months later.
The bank paid an $80 million regulatory penalty, largely for not having assessed the risks of its own cloud migration. Every step in the chain is closed by a configuration setting or a permission boundary that costs nothing but attention, which is why this incident has stayed on cloud security syllabuses ever since.
Frequently asked questions
What happened in the Capital One breach?
An outside individual exploited a misconfiguration in Capital One's cloud environment and copied data from the bank's cloud storage. Capital One's own account states the unauthorized access occurred on 22 and 23 March 2019, that an external researcher reported a configuration vulnerability on 17 July 2019 and that the bank determined the incident on 19 July 2019. It disclosed publicly on 29 July 2019.
How many people were affected?
Approximately 100 million individuals in the United States and approximately 6 million in Canada, per Capital One.
What data was taken?
Mainly credit card application data: names, addresses, dates of birth, self-reported income and similar fields, plus customer status data such as credit scores and balances and some transaction fragments. More sensitively, about 140,000 US Social Security numbers, about 80,000 linked bank account numbers of secured card customers and about 1 million Canadian Social Insurance Numbers. Credit card numbers and login credentials were not compromised.
What is an SSRF attack?
Server-side request forgery means tricking a server into making a network request on the attacker's behalf. Because the request originates from inside the environment, it can reach internal addresses the attacker cannot reach directly. It is listed in the OWASP Top 10 and catalogued as CWE-918.
Why was the cloud metadata service involved?
Cloud instances can obtain temporary credentials for their assigned role from a special internal address. An SSRF flaw that can reach that address can retrieve those credentials, and then act with the instance's permissions from anywhere.
Who was responsible?
Paige Thompson, a former employee of the cloud provider, was convicted in June 2022 in federal court in Seattle of wire fraud and five counts of unauthorized access to a protected computer, plus damaging a protected computer. The original October 2022 sentence of time served and probation was later vacated on appeal and she was resentenced.
What were the regulatory consequences?
In August 2020 the Office of the Comptroller of the Currency assessed an $80 million civil money penalty, finding that the bank failed to establish effective risk assessment processes before migrating significant IT operations to the public cloud and failed to correct the deficiencies in a timely manner. The Federal Reserve issued a separate cease and desist order with no monetary penalty.
Was this a cloud provider failure?
No. The misconfiguration was in the customer's own environment. The incident is the standard illustration of the shared responsibility model: the provider secures the infrastructure, the customer secures what they build on it.
What single change would have prevented it?
Several would. Fixing the firewall rule, restricting the role's permissions to the specific buckets the application needed, requiring the hardened version of the metadata service, and alerting on unusual bulk reads from storage are each sufficient to break the chain.
Sources
- 2019 Cybersecurity Incident: Information on the 2019 Cyber Incident, Capital One
- OCC Assesses $80 Million Civil Money Penalty Against Capital One (NR 2020-101), Office of the Comptroller of the Currency
- Former Seattle Tech Worker Convicted of Wire Fraud and Computer Intrusions, US Department of Justice, Western District of Washington
- Former Hacker Sentenced for Stealing Computer Power to Mine Cryptocurrency and Stealing Data, US Department of Justice, Western District of Washington
- A10:2021 Server-Side Request Forgery (SSRF), OWASP
- CWE-918: Server-Side Request Forgery (SSRF), MITRE CWE
- Configure the instance metadata service, Amazon Web Services
- What We Can Learn from the Capital One Hack, KrebsOnSecurity
- Unsecured Credentials: Cloud Instance Metadata API, Technique T1552.005, MITRE ATT&CK


