Skip to content
XSS Write-up Intermediate

1250 $ For 3 Stored XSS AND PII Disclosure , Let’s See How FIS Scammed Me AND Bugcrowd Covered It…

The researcher found misconfigured S3 buckets that allowed stored cross-site scripting (XSS) on both a UAT and a production subdomain, and later found another bucket exposing PDF files containing employee PII. An attacker could execute scripts in victims' browsers or access sensitive personal data.

0xAwali Follow

Published on medium.com

Hi In this write-up , I’m going to explain how I got scammed multiple times , providing all the evidence without any kind of drama.

Mahmoud Mohamed, on medium.com

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 S3 buckets were configured with public write permissions, allowing arbitrary file uploads that were served from the web application's domain.

Impact

An attacker could execute scripts in users' browsers on the banking domain and access PDFs containing employee PII such as emails, usernames, tax IDs, and possibly account numbers.

What the attacker needed

Misconfigured S3 bucket with public write; victim visits the affected domain

The fix

The buckets should be configured to prevent public write access and to require authentication for uploads.

How it was found

  1. During reconnaissance, the researcher found a misconfigured S3 bucket.
  2. The researcher uploaded a file that led to stored XSS on the UAT environment.
  3. The researcher later found the same issue on the production environment.
  4. The researcher discovered another bucket that exposed PDF files with sensitive information.

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 misconfigured S3 bucket is a cloud storage folder that is set to allow public writing, so anyone can upload files. Here, the researcher could upload a file that runs JavaScript (a script that runs in the browser) when someone visits the site, which is called stored XSS. Separately, another bucket let anyone download PDFs with personal information like emails and tax IDs.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.