Exploiting Improper Validation of Amazon Simple Notification Service SigningCertUrl
A loophole in official AWS SDKs let attackers forge SNS messages to HTTP subscribers, potentially triggering actions like deleting users.
Published on spaceraccoon.dev
Note: This is the “text notes” version of my DEF CON 30 Cloud Village Lightning Talk. The talk was not recorded so this is the only public version of it.
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
Impact
An attacker could forge SNS messages to SNS HTTP subscribers, potentially triggering actions like deleting users.
How it was found
- Send a forged SNS message to a victim's webhook endpoint that uses the SDK for validation.
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.
Amazon SNS is a service that sends messages between applications. To prove a message really comes from SNS, applications check a digital signature using a certificate from a URL. The problem was that the URL check could be tricked, so an attacker could use their own certificate and fake messages.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.