Skip to content
Account takeover Disclosed report Beginner

Email Authentication bypass Vulnerability

The domain paragonie.com does not publish a DMARC record, so email receivers have no policy telling them to reject or quarantine spoofed messages. An attacker could send email that appears to come from the domain, such as [redacted], and it may be delivered to recipients.

waqar_vicky Follow

Originally disclosed on HackerOne

  • Disclosed after 4 months

Hi,

I was able to bypass you email authentication. You have not published "DMARC [Domain-based Message Authentication, Reporting, and Conformance]" for the domain paragonie.com more information :- http://dmarc.org/ ----------------------------------------------------------------------> what is DMARC ?

DMARC, which stands for “Domain-based Message Authentication, Reporting & Conformance”, is a technical specification created by a group of organizations that want to help reduce the potential for email-based abuse by solving a couple of long-standing operational, deployment, and reporting issues related to email authentication protocols.DMARC standardizes how email receivers perform email authentication using the well-known SPF and DKIM mechanisms. This means that senders will experience consistent authentication results for their messages at AOL, Gmail, Hotmail, Yahoo! and any other email receiver implementing DMARC. We hope this will encourage senders to more broadly authenticate their outbound email which can make email a more reliable way to communicate.

DMARC was aimed at:

Reducing false negatives Provide authentication reporting Apply sender policies at the receiving end Reduce phishing Be scalable In order to get started with DMARC, the sending domain needs to have an SPF and DKIM record published. Once the SPF and DKIM records are in place, you can ure DMARC by adding policies to your domain's TXT records (the same way in which you published your SPF and DKIM records). Your TXT record name should read something similar to "dmarc.your_domain.com." Please replace the "yourdomain.com" with your own domain.

As DMARC policies are published as TXT records, it defines what an email receiver should do with non-aligned mail it receives.

You can read more about creating DMARC records and their uses here: https://support.sendgrid.com/hc/en-us/articles/200182958-Everything-about-DMARC-

Why should you implement this

When I try to send a spoofed email from your domain to anyone like from [email protected] to [email protected]`

when a domain has DMARC record then they get this

http://i.gyazo.com/59c6acf761ff010bb16aa93d19c6fc39.png

The main point here is that DMARC prevents spoofing by adding this line:

It has a from address in mailjet.com but has failed mailjet.com's required tests for authentication.

Now, thats how DMARC comes to rescue

The following site https://dmarcian.com/dmarc-inspector/paragonie.com

Give the follwong detail: No DMARC record published.

Which shows that you are missing this security feature.

You should publish a valid DMARC record for your domain to prevent any misunderstanding and to prevent hackers from using your email.

Let me know if more information is needed.

Thank you!

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

Likely the domain owner has not published a DMARC TXT record, so receiving mail servers have no policy to apply when SPF or DKIM alignment fails.

Impact

An attacker could send spoofed email that appears to come from the domain, which may be delivered to recipients because no DMARC policy instructs receivers to reject it.

What the attacker needed

None

The fix

The domain owner should publish a valid DMARC record for the domain.

How it was found

  1. Check the domain's DNS for a DMARC record using an online inspector.
  2. Observe that no DMARC record is published.
  3. Send a spoofed email from an address at the domain to another address.
  4. Attempt to send a spoofed email and note the lack of DMARC rejection policy.

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.

Email authentication checks like SPF and DKIM help receiving mail servers verify that a message really came from the domain it claims. DMARC is a published policy that tells receivers what to do when those checks fail, such as reject the message. Without a DMARC record, a receiver has no instruction to block fake messages, so someone can send email pretending to be from the domain.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by waqar_vicky

View all

1 more disclosed report, best first.

More from Paragon Initiative Enterprises

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.