medium

SNS SigningCertUrl improper validation

Published Fri, Aug 19th, 2022

Platforms

aws

Summary

Amazon SNS' signature validation in the official SDK relied on a weak regex for default AWS certificate locations, that would incorrectly match an S3 bucket named `sns`. This bucket happened to be publicly readable and writeable, allowing an attacker to forge messages to any user of the official SDK SNS validator.

Affected Services

Amazon Simple Notification Service (SNS)

Remediation

None required

Tracked CVEs

No tracked CVEs

References

Contributed by https://github.com/ramimac

Entry Status

Finalized

Disclosure Date

-

Exploitability Period

-

Known ITW Exploitation

-

Detection Methods

None

Piercing Index Rating

-

Discovered by

Eugene Lim