Skip to content
Misconfiguration Disclosed report Beginner

SPF Records (SMTP protection not used)

The domain's SPF record uses a soft fail (~all) instead of a hard fail (-all), which allows spoofed emails to be sent from the domain. An attacker could send phishing emails that appear to come from the organisation's support address.

shantanu_kul Follow

Originally disclosed on HackerOne

  • Triaged in 39 hours
  • Fixed in 3 days
  • Disclosed after 11 days

Hello MyCrypto Team ,

I am checking your website and found something is missing in SPF record.I don't find you have applied strict SMTP policy to stop spoofed email sending from your domain.

I would like to recommend you to read the following article :

https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability

Problem description :

The above article strictly guide us about difference between soft mail and fail. MyCrypto should use fail because Soft mail allows anyone to send spoofed emails from your domains.

In your SPF record you should replace ~ with - at last before all , - is strict which prevents all spoofed emails except if you are sending. Your bug is that you are using ~ , you should use -

FIX :

Your SPF record : v=spf1 include:_spf.google.com ~all

It should be : v=spf1 include:_spf.google.com -all

Best Regards ,

Shantanu

Impact

An attacker can send a Fake email from [email protected] saying that Please change your password, The victim is aware or not of phishing attacks, But when he sees that the mail originated from [email protected] , then he can blindly believe on it. Clicking on the link takes him to a website where certain JavaScript is executed which steals his PayPal id and password (SESSION COOKIE). Later results are more harmful.

<?php $to = "[email protected]"; $subject = "Password Change"; $txt = "Change your password by visiting here - [VIRUS LINK HERE]l"; $headers = "From: [email protected]"; mail($to,$subject,$txt,$headers); ?>

The original report as published on HackerOne, by shantanu_kul. 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

The SPF record ended with ~all (soft fail) instead of -all (hard fail), which allows spoofed emails.

Impact

An attacker could send spoofed emails from the support address to phish users, potentially stealing credentials, though the report does not demonstrate this in practice.

What the attacker needed

Ability to send email with spoofed sender

The fix

The SPF record should be changed to end with -all instead of ~all.

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.

SPF is a DNS record for a domain. The record used soft fail (~all) instead of hard fail (-all), so spoofed emails could be sent from the domain.

What is Misconfiguration?

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

More from MyCrypto

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.