The DMARC record is not properly configured
The domain's DMARC record was missing or not enforcing a policy, so anyone could send email that appeared to come from the organisation's support address. An attacker could use this to phish customers with fake password-reset or payment messages.
Linktree
Originally disclosed on Bugcrowd
- Accepted in 8 days
- Fixed in 18 days
- Disclosed after 7 months
Summary by Cutiapreta
Dmarc record's misconfiguration
Report details
-
Submitted
26 Oct 2023 09:42:13 UTC
-
Target Location
*.odesli.co -
Target category
Web App
-
VRT
Server Security Misconfiguration > Mail Server Misconfiguration > Email Spoofing to Inbox due to Missing or Misconfigured DMARC on Email Domain
-
Priority
P4
-
Bug URL
Empty
-
Description
Email Spoofing to Inbox due to Missing or Misconfigured DMARC on Email Domain
Description:
When I create an account or perform any actions like a password reset for testing on the 'odesli.co' website, I receive emails from the email domain '[email protected].' However, when I check the DMARC record of the 'odesli.co' email domain, I find that the domain's policy is not set, which makes email spoofing possible from this email domain.
Confirmation of vulnerability steps:
- First, open your Linux terminal, whether it's Kali or Parrot.
- Next, use the nslookup command with the following command: 'nslookup -type=txt _dmarc.odesli.co '
- Now you can see in there is not dmarc record found.
- Which means that email's domain is vulnerable for spoofing.
Exploitation steps:
- Save the attached email spoofing script to your Linux system.
- Give command in kali or parrot : 'apt install postfix && apt install sendemail'
- Provide executable permission to the script by running the following command: chmod +x mailspoofer.sh
- Execute the script by using the following command, replacing receiver_email with the target recipient's email address: bash mailspoofer.sh receiver_email.
- After executing mailspoofer.sh, you will be prompted to enter the email address where you want to send the phishing email. Input the email address you wish to target.
Proof of Concept (PoC)
The screenshot(s) below demonstrates the mail server misconfiguration:
Spoofed mails:
Phishing by resetting password
Phishing by pending payment
Impacts:
I can exploit this situation as an attacker to potentially deceive your customers through phishing attacks, potentially extracting significant funds and acquiring their credentials quite easily
We all know that major cyber attacks on companies often begin with email spoofing, accounting for up to 50% of such incidents. Therefore, these vulnerable email addresses can potentially become the root cause of significant cyberattacks on the company.
Markdown:
I provided a screenshot of the email to prove that this email domain actually exists because my previous submission was closed as a non-existent email domain. However, this email domain is real and is used by the website for security purposes. Please consider triaging this issue
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 published no DMARC TXT record, so receiving mail servers had no policy instructing them to reject or quarantine unauthenticated mail claiming to be from it.
Impact
An attacker could send spoofed emails that may reach victims' inboxes and be used for phishing to steal credentials or money, though the report only demonstrates delivery of test messages, not real-world inbox placement at scale.
What the attacker needed
Control of any mail-sending host; victim trusts the spoofed sender
The fix
The domain should publish a DMARC record with an enforcing policy (quarantine or reject) alongside aligned SPF and DKIM, and monitor reports before tightening.
How it was found
- Query the domain's DMARC TXT record from a terminal.
- Observe that no DMARC record is returned.
- Install mail-sending tools on a Linux host.
- Run the reporter's spoofing script against a chosen recipient address.
- Enter the target email address when prompted and send the spoofed message.
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.
DMARC is a DNS record that tells receiving mail servers what to do when an email claiming to be from your domain fails authentication checks. Without it, a stranger can send mail that looks like it came from the company's address, and recipients have no reliable signal that it is fake. The reporter showed this by sending spoofed emails that landed in an inbox.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.