Skip to content
Misconfiguration Disclosed report Beginner

Email spoofing in [email protected]

The reporter found that they could send an email with a forged sender address ([redacted]) that was delivered to the recipient's inbox rather than being flagged as spam. The attacker could impersonate the domain to send deceptive emails.

ahsan Follow

Originally disclosed on HackerOne

  • Fixed in 6 days
  • Disclosed after 7 days

Hey, I've found email spoofing vulnerability in [email protected] Issue:

When I try to send a fake email from [email protected] to my email ([email protected]) I was successful in sending a fake email to my inbox, this is an issue; because, fake mails should be sent into the 'spam' folder.

Exploit Code:

<?php
$to = "[email protected]";
$subject = "test by ahsan";
$txt = "testing";
$headers = "From: [email protected]";
mail($to,$subject,$txt,$headers);
?>

When I tried to run it as a web-app in my browser, like, I created a file in my server (e.g test.php) and in that file I put this exploit code, and saved it when i run it like myserver.com/test.php it showed a blank white page, and next i checked out my email and i received an email from [email protected] into my inbox saying 'testing'

I hope you'll fix it soon.. :-)

Thanks, Ahsan Tahir

The original report as published on HackerOne, by ahsan. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the domain lacks proper email authentication (such as SPF, DKIM, or DMARC) that would allow receiving servers to detect and block forged sender addresses.

What the attacker needed

Ability to send email with custom headers; a server to run a script

How it was found

  1. Create a PHP script on a server that sends an email with a forged From header.
  2. Run the script via a web browser.
  3. Check the recipient's inbox and observe the email appears to come from the spoofed address.

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.

Email spoofing is when someone sends an email that looks like it came from a different address. Here, the sender could pretend to be [redacted], and the email landed in the inbox instead of spam, which could trick people.

What is Misconfiguration?

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

More by ahsan

View all

24 more disclosed reports, best first.

More from Veris

View all

The newest disclosed reports for this program.

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.