AWS S3 website can't serve security headers, may allow clickjacking
The AWS S3 static website did not serve security headers such as X-Frame-Options, which could allow clickjacking. The issue was fixed by placing nginx in front of the S3 website and adding header directives.
Originally disclosed on HackerOne
- Triaged in 23 days
- Fixed in 54 days
- Paid in 54 days
- Disclosed after 3 months
Summary by the program
Security researcher discovered that our AWS S3 website was not serving some basic security headers like X-Frame-Options. We resolved the issue by putting nginx in front of our AWS S3 website and adding header directives.
Fixed security headers can be verified here: https://schd.io/zt
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
What the attacker needed
None
The fix
The issue was fixed by putting nginx in front of the AWS S3 website and adding header directives.
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 report has not been written yet. The Original tab links to the source.
Security headers are instructions a website sends to your browser to make it safer. Without the X-Frame-Options header, another site could load this website inside a hidden frame and trick you into clicking things you did not intend to click, which is called clickjacking. The fix was to put a server (nginx) in front of the storage service (S3) so it could add those headers.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.