Capital One
Breach Date
March 22, 2019
Records Affected
106,000,000
Verified
Yes
Source
wikipedia
Summary
The Capital One data breach of 2019 is one of the largest and most technically well-documented financial sector breaches in history, affecting approximately 106 million individuals across the United States and Canada. Between March and July 2019, former Amazon Web Services engineer Paige Thompson — operating under the online handle "erratic" — exploited a misconfigured Web Application Firewall (WAF) to execute a Server-Side Request Forgery (SSRF) attack against Capital One's AWS-hosted infrastructure. The attack leveraged the AWS metadata service to obtain temporary credentials for an overly permissive IAM role, which granted access to S3 buckets containing approximately 30 gigabytes of sensitive credit application data.
The exposed data included names, addresses, phone numbers, email addresses, dates of birth, self-reported income, credit scores, credit limits, account balances, transaction history, 140,000 Social Security numbers, 80,000 bank account numbers, and approximately 1 million Canadian Social Insurance Numbers. Thompson posted information about the breach on GitHub, where an external security researcher discovered it and reported it to Capital One on July 17, 2019. Capital One confirmed the vulnerability on July 19 and disclosed the breach publicly on July 29, the same day the FBI arrested Thompson in Seattle.
The breach resulted in an $80 million penalty from the Office of the Comptroller of the Currency (OCC), a $190 million class action settlement, and widespread scrutiny of cloud security practices across the financial industry. Thompson was convicted in June 2022 but received a controversial sentence of time served plus five years of probation, with the judge citing her significant mental health challenges. The incident became a landmark case study in cloud security, SSRF vulnerabilities, and the shared responsibility model between cloud providers and their customers.
Breach Details
- Breach Date
- March 22, 2019
- Records Affected
- 106,000,000
- Source
- Wikipedia
- Verified
- Verified
- Industry
- Financial Services
- Type
- Poor Security
Impact Analysis
Scale of Impact
- 106 million individuals affected — approximately 100 million in the United States and 6 million in Canada
- 30 GB of sensitive data exfiltrated from Capital One's AWS S3 buckets
- Credit application data spanning 14 years (2005-2019) compromised
Data Types Exposed
- Names, addresses, phone numbers, and email addresses
- Dates of birth and self-reported income
- Credit scores, credit limits, and account balances
- Transaction and payment history data
- 140,000 Social Security numbers (SSNs)
- 80,000 linked bank account numbers
- Approximately 1 million Canadian Social Insurance Numbers (SINs)
- Credit application metadata and fragments
Financial Impact
| Category | Amount |
|---|---|
| OCC regulatory penalty | $80 million |
| Class action settlement | $190 million |
| Incident response and remediation costs | Undisclosed (estimated $100M+) |
| Total known financial impact | $270+ million |
Downstream Effects
- Capital One's stock dropped approximately 6% in the days following disclosure, wiping billions in market capitalization
- The breach triggered a comprehensive review of cloud security practices across the entire U.S. banking sector
- AWS accelerated the rollout of IMDSv2 (Instance Metadata Service version 2), which mitigates SSRF attacks against the metadata endpoint
- The OCC penalty was one of the largest ever issued for a cybersecurity failure at a U.S. financial institution
- The incident became a catalyst for stricter cloud security requirements in financial services regulations
- Capital One's reputation as a technology-forward bank was significantly damaged, undermining its narrative of being a "tech company that happens to do banking"
Timeline
- March 22-23, 2019: Paige Thompson begins exploiting the misconfigured WAF and executes the initial SSRF attack against Capital One's AWS infrastructure
- March-July 2019: Thompson systematically accesses and exfiltrates approximately 30 GB of data from multiple S3 buckets over several months
- April 21, 2019: Thompson posts about the breach on social media and Slack channels, boasting about the access she gained
- June 18, 2019: Thompson uploads stolen data and exploitation details to a public GitHub page
- July 17, 2019: An external security researcher discovers Thompson's GitHub post and reports it to Capital One via their responsible disclosure program
- July 19, 2019: Capital One confirms the vulnerability and begins incident response, fixes the WAF misconfiguration, and notifies the FBI
- July 29, 2019: Capital One publicly discloses the breach; FBI arrests Paige Thompson at her home in Seattle on the same day
- August 2019: Capital One begins notifying affected customers and offering free credit monitoring and identity protection services
- August 2020: OCC issues an $80 million civil money penalty against Capital One for failure to establish effective risk assessment processes
- September 2021: $190 million class action settlement preliminarily approved
- June 2022: Paige Thompson convicted on seven counts including wire fraud and unauthorized access to a protected computer
- October 2022: Thompson sentenced to time served plus five years of probation — the judge cites her significant mental health issues and the lack of evidence that stolen data was sold or disseminated
- 2023: Capital One completes comprehensive cloud security remediation program mandated by the OCC consent order
Lessons Learned
1. SSRF Is a Critical Cloud Security Threat
The Capital One breach demonstrated that Server-Side Request Forgery (SSRF) is one of the most dangerous vulnerability classes in cloud environments. A single SSRF vulnerability in the WAF allowed Thompson to query the AWS metadata service (169.254.169.254) and obtain temporary IAM credentials. Organizations hosting workloads in the cloud must implement SSRF protections at multiple layers: application-level input validation, network-level restrictions on metadata service access, and adoption of IMDSv2 which requires session tokens.
2. The Shared Responsibility Model Requires Active Management
Capital One's breach was not a failure of AWS infrastructure but a failure of Capital One's configuration within AWS. The shared responsibility model means cloud providers secure the infrastructure, but customers must secure their own configurations, IAM policies, and applications. Capital One's WAF was misconfigured, and the IAM role ("ISRM-WAF-Role") had overly broad permissions to access S3 buckets. Least-privilege access policies and regular configuration audits are essential.
3. Overly Permissive IAM Roles Amplify Breaches
The "ISRM-WAF-Role" that Thompson compromised had permissions far exceeding what a WAF component should require. The role could list and read S3 buckets containing years of sensitive customer data. Had the IAM role been scoped to only the resources the WAF needed, the breach impact would have been dramatically reduced. IAM policy reviews and automated enforcement of least-privilege principles are critical controls.
4. Insider Threat Knowledge Accelerates External Attacks
Thompson's background as a former AWS engineer gave her deep knowledge of AWS infrastructure, services, and common misconfigurations. This insider knowledge allowed her to identify and exploit the vulnerability quickly and efficiently. Organizations should consider that former employees of their cloud providers may have adversarial knowledge and should implement controls accordingly — including comprehensive logging, anomaly detection, and network segmentation.
5. Detection and Monitoring Gaps Allow Prolonged Access
Thompson had access to Capital One's data for approximately four months (March-July 2019) before being discovered — and the discovery came from an external tip, not internal monitoring. Despite the large volume of data exfiltration, Capital One's security monitoring did not detect the anomalous S3 access patterns. Organizations must implement robust cloud security monitoring, including CloudTrail analysis, S3 access logging, and anomaly detection for unusual API call patterns.
6. Responsible Disclosure Programs Work
The breach was ultimately discovered because an external researcher found Thompson's GitHub post and reported it through Capital One's responsible disclosure program. Without this program and the researcher's diligence, the breach could have continued indefinitely. Maintaining an accessible vulnerability disclosure program is a critical layer of defense.
Technical Details
Attack Vector: SSRF via Misconfigured WAF
The attack exploited a Server-Side Request Forgery (SSRF) vulnerability in a misconfigured Web Application Firewall (WAF) that Capital One operated on an EC2 instance within their AWS environment.
-
Initial Access: Thompson identified a misconfigured WAF (ModSecurity on Apache) that was vulnerable to SSRF. The WAF could be tricked into making HTTP requests to arbitrary internal endpoints.
-
Metadata Service Exploitation: Thompson crafted SSRF requests targeting the AWS EC2 Instance Metadata Service at
http://169.254.169.254/latest/meta-data/iam/security-credentials/ISRM-WAF-Role. This returned temporary AWS credentials (Access Key, Secret Key, and Session Token) associated with the IAM role attached to the EC2 instance. -
IAM Role Abuse: The compromised role — named "ISRM-WAF-Role" — had overly broad permissions, including the ability to list S3 buckets (
s3:ListBuckets) and read their contents (s3:GetObject). This role was intended for WAF operations but was never scoped to specific resources. -
Data Exfiltration: Using the temporary credentials, Thompson executed AWS CLI commands to list Capital One's S3 buckets and systematically downloaded approximately 30 GB of credit application data. The data spanned credit card applications from 2005 through early 2019.
-
Persistence: Thompson repeated the SSRF attack over several months to obtain fresh temporary credentials as the previous ones expired (AWS STS temporary credentials typically expire after 1-12 hours).
Technical Root Causes
| Root Cause | Description |
|---|---|
| WAF Misconfiguration | The ModSecurity WAF on the EC2 instance was configured to proxy requests, allowing SSRF to internal services |
| IMDSv1 Exposure | Capital One used IMDSv1, which responds to simple HTTP GET requests without session authentication |
| Overly Permissive IAM | "ISRM-WAF-Role" had S3 read access far beyond what the WAF component required |
| Lack of Network Segmentation | The WAF instance could reach the metadata service and S3 endpoints without restriction |
| Insufficient Monitoring | No alerts on anomalous S3 access patterns or unusual metadata service queries |
Mitigations That Would Have Prevented the Breach
- IMDSv2: Requires a PUT request with a TTL-limited session token before metadata can be accessed — blocks SSRF-based credential theft
- Least-Privilege IAM: Scoping the WAF role to only necessary resources would have prevented S3 access
- VPC Endpoints with Policies: S3 VPC endpoint policies could have restricted which buckets were accessible from the WAF subnet
- WAF Configuration Hardening: Disabling or restricting the WAF's ability to proxy requests to internal IP ranges
- CloudTrail Monitoring: Alerting on S3 ListBuckets/GetObject calls from the WAF role to unexpected buckets
Attacker Profile
| Detail | Information |
|---|---|
| Name | Paige Thompson (online handle: "erratic") |
| Background | Former AWS engineer (worked at AWS from 2015-2016 on S3 storage systems) |
| Arrest | July 29, 2019 by FBI in Seattle, WA |
| Conviction | June 2022, seven counts including wire fraud and unauthorized computer access |
| Sentence | Time served + 5 years probation (judge cited mental health challenges) |
| Motivation | Unclear — no evidence data was sold; Thompson appeared to seek notoriety and posted openly about the attack |
Frequently Asked Questions
How many people were affected by the Capital One breach?
Approximately 106 million individuals were affected — roughly 100 million in the United States and 6 million in Canada. The compromised data primarily consisted of credit card application information submitted between 2005 and early 2019.
Who was behind the Capital One breach?
Paige Thompson, a former Amazon Web Services (AWS) engineer who had worked on S3 storage systems from 2015 to 2016. Operating under the online alias "erratic," she exploited her knowledge of AWS infrastructure to identify and exploit a misconfigured Web Application Firewall. She was arrested by the FBI on July 29, 2019, the same day Capital One publicly disclosed the breach.
What data was stolen in the Capital One breach?
The stolen data included names, addresses, phone numbers, email addresses, dates of birth, self-reported income, credit scores, credit limits, account balances, and transaction data. Additionally, approximately 140,000 Social Security numbers, 80,000 bank account numbers, and 1 million Canadian Social Insurance Numbers were exposed.
How was the Capital One breach discovered?
Paige Thompson posted details of her exploit on GitHub in June 2019. An external security researcher discovered the post on July 17, 2019, and reported it to Capital One through their responsible disclosure program. Capital One confirmed the vulnerability within two days and contacted the FBI, leading to Thompson's arrest on July 29.
What was the technical vulnerability that caused the breach?
The breach exploited a Server-Side Request Forgery (SSRF) vulnerability in a misconfigured Web Application Firewall (WAF). The SSRF allowed Thompson to query the AWS EC2 Instance Metadata Service and obtain temporary IAM credentials for a role ("ISRM-WAF-Role") that had overly broad permissions to access S3 buckets containing customer data.
What penalties did Capital One face?
Capital One faced an $80 million penalty from the Office of the Comptroller of the Currency (OCC) and a $190 million class action settlement, totaling over $270 million in direct financial penalties. The OCC also issued a consent order requiring comprehensive improvements to Capital One's risk management and cloud security practices.
What happened to Paige Thompson?
Thompson was convicted in June 2022 on seven federal counts including wire fraud and unauthorized access to a protected computer. In October 2022, she was sentenced to time served plus five years of probation — a controversial sentence that the judge justified by citing Thompson's significant mental health challenges and the absence of evidence that the stolen data was sold or further disseminated.
Could this breach have been prevented?
Yes. Several specific technical controls would have prevented or significantly limited the breach: upgrading to IMDSv2 (which blocks SSRF-based credential theft), applying least-privilege IAM policies to the WAF role, implementing network segmentation to restrict metadata service access, and deploying monitoring for anomalous S3 access patterns. AWS subsequently accelerated the rollout of IMDSv2 partly in response to this incident.
Protect Your Organization From Data Breaches
Our security experts can help you identify vulnerabilities and strengthen your defenses.