Skip to content
Misconfiguration Disclosed report Beginner

owncloud.com: PermError SPF Permanent Error: Too many DNS lookups

The SPF record for owncloud.com exceeds the DNS lookup limit, causing a permanent error. An attacker could spoof email from the domain because SPF validation fails.

karthic Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 5 hours
  • Disclosed after 52 days

Summary by the researcher

PermError SPF Permanent Error: Too many DNS lookups

The report

I just checked for SPF records for the owncloud.com domain, and there are none, effectively allowing for spam(spoof) to originate from that domain. you can validate by testing yourself here: http://www.kitterman.com/spf/validate.html

SPF record lookup and validation for: owncloud.com

SPF records are published in DNS as TXT records.

The TXT records found for your domain are: v=spf1 a:mx.owncloud.com a:kerio.owncloud.com a:schaltsekun.de a:m.hive01.com include:cmail1.com include:email.influitive.com include:google.com ~all

Checking to see if there is a valid SPF record.

Found v=spf1 record for owncloud.com: v=spf1 a:mx.owncloud.com a:kerio.owncloud.com a:schaltsekun.de a:m.hive01.com include:cmail1.com include:email.influitive.com include:google.com ~all

evaluating... Results - PermError SPF Permanent Error: Too many DNS lookups

Attachments

spf_record_issue.png
spf_record_issue.png From the original on HackerOne

The original report as published on HackerOne, by karthic. 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 SPF record includes too many mechanisms that require DNS lookups, exceeding the standard limit of 10.

Impact

Email spoofing is possible because SPF checks fail, so messages claiming to be from the domain may not be rejected.

What the attacker needed

None

How it was found

  1. Look up the TXT records for the domain to find the SPF record.
  2. Validate the SPF record using an online SPF checker.
  3. Observe the PermError due to too many DNS lookups.

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 record that lists which servers are allowed to send email for a domain. If the record is broken, receiving mail servers cannot check whether an email is genuine, so anyone can pretend to send email from that domain.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by karthic

View all

5 more disclosed reports, best first.

More from ownCloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.