Tek Paketlik Felaket: Capital One ve SSRF ile Kilidi Açılan Bul
A misconfigured WAF on Capital One's AWS infrastructure had an SSRF vulnerability, which an attacker exploited to access the EC2 metadata service and obtain temporary IAM credentials. With these credentials, the attacker listed and downloaded S3 buckets containing unencrypted personal data of about 106 million customers.
Published on medium.com
2019 yılında Capital One, ABD’nin en büyük bankalarından biri olarak tarihin en büyük bulut tabanlı veri ihlallerinden birine uğradı. Yaklaşık 106 milyon müşterinin kişisel bilgileri izinsiz kişiler tarafından ele geçirildi.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the WAF component was vulnerable to SSRF and the attached IAM role had overly broad permissions, allowing access to the metadata service and S3 buckets.
Impact
The attacker could access and download about 30 GB of unencrypted customer data, affecting approximately 106 million people.
What the attacker needed
Access to the vulnerable WAF; SSRF vulnerability present; EC2 metadata service reachable; IAM role with S3 permissions
The fix
The text does not state a specific fix, but recommends using IMDSv2, enforcing least privilege, encrypting data, and improving monitoring.
How it was found
- The attacker discovered an SSRF vulnerability in the WAF component.
- The attacker used the SSRF to access the EC2 instance metadata service.
- The attacker obtained temporary IAM credentials (access key and secret key) from the metadata service.
- The attacker used the credentials to list and download S3 buckets containing customer data.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A server-side request forgery (SSRF) flaw lets an attacker trick a server into making requests to internal systems it shouldn't reach. Here, the attacker used that to access cloud metadata, which stored temporary access keys, and then used those keys to download sensitive data from cloud storage.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.