Hello Team,
I hope this message finds you well. I am reaching out to you as an ethical hacker, bug bounty hunter, and security researcher. My expertise lies in identifying bugs in websites and providing vulnerability assessments for the issues discovered. Recently, I came across an email spoofing issue on your website that I would like to bring to your attention. This issue allows anyone to send emails from the address hello@ai4csm.eu to other users. Please find the details of the bug below. I am seeking a bug bounty reward for responsibly disclosing this issue and look forward to reporting any further bugs once this matter is addressed.
No DMARC Record Found
Description:
DMARC (Domain-based Message Authentication, Reporting, and Conformance) is an email authentication protocol designed to protect email domain owners from unauthorized use, commonly known as email spoofing. Implementing DMARC helps prevent business email compromise attacks, phishing emails, email scams, and other cyber threats. A DMARC record contains the policy that determines how unauthenticated or forged emails should be handled. The absence of a DMARC record can allow attackers to abuse the domain name.
In this case, I was able to send a forged email to my own address, making it appear as if it originated from hello@ai4csm.eu. The issue lies with the following DMARC record:
DMARC record lookup and validation for: ai4csm.eu
<?php
$to = "VICTIM@example.com";$subject = "Password Change";
$txt = "Change your password by visiting here - [Malicious link here]";
$headers = "From: info@ai4csm.eu";
mail($to,$subject,$txt,$headers);
?>
Fix:
To address this issue, please follow these steps:
v=DMARC1; p=none; fo=1; rua=mailto:enter your email address; ruf=enter your email addressFor example:
v=DMARC1; p=none; fo=1; rua=mailto:dmarc_rua@auth.sampledomain.net; ruf=mailto:dmarc_ruf@auth.sampledomain.net
Make sure to replace "enter your email address" with the appropriate email addresses. These addresses are where the reports will be sent. If you are working with an ESP or other third party who will receive the DMARC reports on your behalf, please consult your account representative to determine the email addresses to be used.
You can check your DMARC record here.
This email spoofing vulnerability can be exploited for phishing purposes. An attacker could send forged emails from your domain, posing as an official representative of your company, and deceive your website users into providing money or credentials. The importance of DMARC and SPF is highlighted by the following statistics:
Please let me know if you require further assistance or if you have any additional questions.
Thank you and best regards,
Haris Ahmed