Skip to content
Misconfiguration Write-up Beginner

How i found a Email Spoofing vulnerability to perform Phishing At

The application accepted an arbitrary email address and content in a request and sent an email to that address, allowing an attacker to spoof emails and include some HTML. An attacker could use this for phishing, spam, or social engineering.

Anonymousshetty Follow

Published on medium.com

As a penetration tester, Burp Suite is one of my go-to tools for performing manual web application testing. On this particular engagement, I was tasked with evaluating the security of an online application which provided advice to users using AI.

Anonymousshetty, 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 application trusted user-supplied input for the recipient email address and email content without server-side validation or sanitisation.

Impact

An attacker could send spoofed emails to arbitrary addresses, potentially used for phishing, spam, or social engineering, and the emails could include some HTML.

What the attacker needed

Ability to intercept HTTP requests; knowledge of the email-sending endpoint

The fix

The application should validate and sanitise user input on the server side, ensuring that emails are sent from the server and not controlled by the client.

How it was found

  1. Intercept the traffic between the browser and the application using Burp Suite.
  2. Identify a POST request that contains an email address and content in the body.
  3. Modify the email address field to an arbitrary address.
  4. Send the request and observe that the email is sent to the specified address with the provided content.

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.

When a website sends emails, it should control who the email appears to come from and what it says. Here, the website trusted whatever the user typed, so someone could make the email look like it came from the site but actually be sent to anyone with any message. This is called email spoofing and can be used to trick people.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by Anonymousshetty

View all

9 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.