Missing SPF Flags
The domain's SPF record uses a soft fail (~all) instead of a hard fail (-all), which allows an attacker to send spoofed emails that may be delivered. An attacker could send phishing emails appearing to come from the domain.
- Fixed in 16 hours
- Disclosed after 2 days
I am just looking at your SPF records then found following. SPF Records missing safe check which can allow me to send mail and phish easily any victim.
#PoC:
<?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 TXT records found for your domain are: v=spf1 include:_spf.google.com include:mailgun.org include:spf.sendinblue.com ~all
Checking to see if there is a valid SPF record.
Found v=spf1 record for wakatime.com:
v=spf1 include:_spf.google.com include:mailgun.org include:spf.sendinblue.com ~all
#Fix:
v=spf1 include:_spf.google.com include:mailgun.org include:spf.sendinblue.com -all
You can check yourself here http://www.kitterman.com/getspf2.py You can refer this https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability
Let me know if any further info is required.
Regards, Mr_R3boot.
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 uses a soft fail (~all) instead of a hard fail (-all), which does not instruct receiving servers to reject unauthorised senders.
Impact
An attacker could send phishing emails that appear to come from the domain, potentially tricking recipients.
What the attacker needed
None
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 an email security measure that lists which servers are allowed to send email for a domain. The record ended with a soft fail (~all), which tells receiving servers to accept but mark suspicious emails, rather than reject them. This means someone could send fake emails that look like they come from the domain.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.