HexBrain

WakaTime · Report #244432

Missing SPF Flags

Validstatus
lowseverity
10upvotes
1 Jul 2017disclosed

How it was found

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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original