No SPF/DMARC records on mb-cosmos.com
The domain mb-cosmos.com had no SPF or DMARC records, so receiving mail servers had no way to check whether a message claiming to come from it was genuine. An attacker could send spoofed email that appeared to originate from the domain and, per the reporter, reached the inbox rather than spam.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 12 months
- Paid in 3 days
- Disclosed after 4.8 years
Summary by the program
Summary
This report identifies a security vulnerability where the domain mb-cosmos.com lacks SPF (Sender Policy Framework) and DMARC (Domain-based Message Authentication, Reporting & Conformance) records. The reporter demonstrates that this misconfiguration allows email spoofing, where an attacker can send emails that appear to come from the domain without authentication.
Steps to Reproduce Visit https://emkei.cz/ (an email spoofing service) Enter "[email protected]" as the sender email address Send an email to any recipient (the reporter used temp-mail.org) Observe that the email is successfully delivered and appears to originate from the legitimate domain Verification shows no SPF records when checking DNS records for mb-cosmos.com
Impact This vulnerability allows malicious actors to spoof emails that appear to come from Malwarebytes' domain mb-cosmos.com. Without proper SPF and DMARC records, attackers can send phishing emails that appear legitimate to recipients, potentially tricking users into revealing sensitive information or performing harmful actions. The reporter notes that spoofed emails are delivered directly to inbox rather than being filtered as spam. This falls under CWE-657 (Violation of Secure Design Principles), as implementing email authentication records is considered a security best practice to prevent email spoofing.
Context
Malwarebytes runs a bug bounty program on HackerOne. This report, filed by assassin_marcos and disclosed on 18 August 2025, concerns a domain associated with the company, mb-cosmos.com, and the email authentication records published for it. The asset listed for the report is www.malwarebytes.com, and the weakness is classified as a violation of secure design principles (CWE-657). Severity was rated medium, and no bounty amount is recorded.
The feature in question is not an application endpoint but the DNS configuration that governs outbound email. SPF (Sender Policy Framework) and DMARC (Domain-based Message Authentication, Reporting & Conformance) are the two records that let receiving mail systems decide whether a message claiming to come from a domain was actually authorised to do so. SPF lists the hosts permitted to send mail for the domain; DMARC tells receivers what to do when SPF or DKIM alignment fails, and where to send reports. When neither record exists, a receiving server has nothing to check a sender against, so a message that claims @mb-cosmos.com as its envelope or header sender can be accepted as genuine.
Setup
The researcher needed no account on the target and no special tooling. The preconditions were:
- A domain in scope that sends, or could plausibly send, email but publishes no SPF or DMARC record.
- A third-party spoofing service capable of setting an arbitrary sender address. The report uses
https://emkei.cz/. - A mailbox to receive the test message. The researcher used a disposable address from
temp-mail.org. - DNS lookup capability to confirm the absence of the records.
Finding it
Verification of the DNS records for mb-cosmos.com showed no SPF records. With no SPF and no DMARC, the domain gives receiving mail servers no statement about which hosts may send on its behalf, and no policy for handling mail that fails authentication. That combination is what made the domain worth testing for spoofing: the absence of the records is the finding, and the delivery test is the demonstration.
Exploitation
Step 1: Open the spoofing service
Visit the email spoofing service:
https://emkei.cz/
This service lets the sender set the From address of an outgoing message to an arbitrary value, which is exactly the condition a domain without SPF or DMARC cannot detect.
Step 2: Set the sender address
Enter the following as the sender email address:
[redacted]
The address uses the target domain with a security-related local part.
Step 3: Send to a controlled recipient
Send the email to any recipient. The researcher used a disposable mailbox from temp-mail.org.
Step 4: Observe delivery
The email was successfully delivered and appeared to originate from the legitimate domain. The report notes specifically that the spoofed message landed directly in the inbox rather than being filtered as spam. The report notes that the spoofed message landed directly in the inbox rather than being filtered as spam.
Step 5: Confirm the missing record
Checking the DNS records for mb-cosmos.com showed no SPF records. Verification showed no SPF records for mb-cosmos.com.
Root cause
The domain mb-cosmos.com has no SPF record and no DMARC record. Without SPF, a receiving server cannot compare the sending host against an authorised list, because no list exists. Without DMARC, there is no policy telling the receiver to quarantine or reject unauthenticated mail, and no alignment requirement tying the visible From header to an authenticated identity. The design mistake is the omission of email authentication records for a domain the organisation controls, which the report frames as a departure from the security best practice of publishing them.
The domain publishes no SPF or DMARC records for a receiver to act on. The report does not describe any DMARC or SPF record on a parent or related domain, so it is not possible to say from the text whether a stricter policy elsewhere would have changed the outcome.
Impact
An attacker can send email that appears to come from mb-cosmos.com. Because the messages are not authenticated against any published policy, they can be used for phishing: convincing recipients that a message is legitimate, and potentially tricking them into revealing sensitive information or performing harmful actions. The researcher observed that spoofed mail was delivered straight to the inbox rather than being treated as spam, which raises the chance a recipient acts on it.
The report does not quantify how many recipients or which mail providers were affected beyond the single test delivery.
Fix
The report does not state what remediation was applied, or whether any was. The measure it identifies is the publication of SPF and DMARC records for mb-cosmos.com, so that receiving servers can authenticate mail claiming to come from the domain and apply a policy when authentication fails. Whether the records were added, and with which policy, is not recorded in the report.
Variants to test
- Subdomains and sibling domains. Check SPF and DMARC on every host under the organisation's namespaces, not just the apex. A positive result is a domain that resolves and is used for mail but returns no
v=spf1TXT record and no_dmarcTXT record. - SPF present but permissive. Look for records ending in
+allor?all, or with overly broadinclude:entries. A positive result is a record that authorises far more senders than the organisation intends. - DMARC present but weak. Look for
p=nonewith no enforcement, or missingspon subdomains. A positive result is a policy that reports but never quarantines or rejects. - Lookalike and legacy domains. Domains acquired through mergers, marketing campaigns or regional sites are often left without records. A positive result is the same delivery test succeeding from a domain the organisation owns.
- DKIM alignment. Even with SPF and DMARC, check whether DKIM is configured and aligned. A positive result is a domain where DMARC passes only through SPF and would fail if the sending host changed.
Hunting notes
This class of bug hides in DNS rather than in application code, so it surfaces during recon: enumerate the organisation's domains and subdomains, then query TXT records for each. The signal is a domain that is clearly in use but has no v=spf1 record and no _dmarc record. The delivery test through a spoofing service, sent to a mailbox the researcher controls, turns the missing record into a demonstrated outcome, and the observation that the message reached the inbox rather than spam is what shows the practical consequence. That combination, a missing record plus a delivered spoof, is what the program summarised.
What happened, in plain words
Every email you receive carries a sender address, something like [redacted]. The part after the @ is the domain, and it is the domain that tells you, and your mail provider, who the message claims to be from. The trouble is that the sender address is just text typed into the message. Unless the domain owner has published rules saying which computers are allowed to send mail for that domain, a receiving mail server has nothing to compare the claim against, and it may simply believe it.
This report is about a domain connected to Malwarebytes, mb-cosmos.com, which had published no such rules. The researcher showed that a message claiming to come from [redacted] could be sent through an online spoofing service and would arrive in a normal inbox, looking like a genuine message from the company. That is called email spoofing, and it is the foundation of a lot of phishing.
There is no website hack here, no stolen password and no broken login. The problem lives in a public directory of the internet called DNS, and the measure identified is to add two entries to that directory. The report was filed on HackerOne, a platform where security researchers report bugs to companies, by assassin_marcos, and it was disclosed on 18 August 2025. It was rated medium severity, classified as a violation of secure design principles (CWE-657), and no bounty amount is recorded.
Context
Malwarebytes runs a bug bounty program on HackerOne. A bug bounty program is an arrangement where a company invites outside researchers to look for problems in its systems and report them, sometimes for a reward. This report concerns a domain associated with the company, mb-cosmos.com, and the email authentication records published for it. The asset listed for the report is www.malwarebytes.com, and the weakness is classified as a violation of secure design principles (CWE-657). Severity was rated medium, and no bounty amount is recorded.
The feature in question is not an application endpoint but the DNS configuration that governs outbound email. Two ideas need unpacking before the rest makes sense.
DNS is the internet's address book. Humans type names like example.com; computers need numbers. DNS is the system that translates one into the other, and it also stores small pieces of text attached to a domain, called records. Anyone can look these records up, and domain owners publish them so the rest of the internet knows how to treat their domain.
SPF (Sender Policy Framework) and DMARC (Domain-based Message Authentication, Reporting & Conformance) are the two records that let receiving mail systems decide whether a message claiming to come from a domain was actually authorised to do so. Think of SPF as a guest list pinned to the door: it names the computers that are allowed to send mail for the domain. DMARC is the instruction card next to it: it says what the door staff should do when someone is not on the list, and where to send a note about it afterwards. SPF lists the hosts permitted to send mail for the domain; DMARC tells receivers what to do when SPF or DKIM alignment fails, and where to send reports. DKIM, mentioned here for the first time, is a third mechanism: a cryptographic signature stamped on a message so the receiver can check it was not altered in transit.
When neither record exists, a receiving server has nothing to check a sender against, so a message that claims @mb-cosmos.com as its envelope or header sender can be accepted as genuine. The envelope sender is the address used in the technical conversation between mail servers; the header sender is the one you actually see in your mail app. Both can be set freely by whoever sends the message.
Setup
The researcher needed no account on the target and no special tooling. The preconditions were:
- A domain in scope that sends, or could plausibly send, email but publishes no SPF or DMARC record.
- A third-party spoofing service capable of setting an arbitrary sender address. The report uses
https://emkei.cz/. - A mailbox to receive the test message. The researcher used a disposable address from
temp-mail.org. - DNS lookup capability to confirm the absence of the records.
Point 2 matters because ordinary mail clients will not let you type any sender you like; a spoofing service will. Point 4 matters because the missing record is the actual finding, and the delivery is only the demonstration of it.
Finding it
The researcher checked the DNS records for mb-cosmos.com and found no SPF record. With no SPF and no DMARC, the domain gives receiving mail servers no statement about which hosts may send on its behalf, and no policy for handling mail that fails authentication. That combination is what made the domain worth testing for spoofing: the absence of the records is the finding, and the delivery test is the demonstration.
Exploitation
Step 1: Open the spoofing service
Visit the email spoofing service:
https://emkei.cz/
This is a website with a form. You fill in a sender address, a recipient address, a subject and a body, and it sends the message for you. Normally your mail provider fills in the sender for you and will not let you pretend to be someone else; this service deliberately does not care. That is exactly the condition a domain without SPF or DMARC cannot detect: the message arrives claiming to be from the domain, and the receiving server has no published rule to hold it against.
Step 2: Set the sender address
Enter the following as the sender email address:
[redacted]
Reading it piece by piece: security is the local part, the bit before the @, and it is chosen to look official. mb-cosmos.com is the target domain, the bit after the @, and it is the part the missing records relate to. The address uses the target domain with a security-related local part.
Step 3: Send to a controlled recipient
Send the email to any recipient. The researcher used a disposable mailbox from temp-mail.org. A disposable mailbox is a temporary address you can create in a browser and throw away; it exists so the researcher can see what arrived without involving anyone else.
Step 4: Observe delivery
The email was successfully delivered and appeared to originate from the legitimate domain. The report notes specifically that the spoofed message landed directly in the inbox rather than being filtered as spam. The report notes that the spoofed message landed directly in the inbox rather than being filtered as spam.
Step 5: Confirm the missing record
Checking the DNS records for mb-cosmos.com showed no SPF records. Verification showed no SPF records for mb-cosmos.com.
Root cause
The domain mb-cosmos.com has no SPF record and no DMARC record. Without SPF, a receiving server cannot compare the sending host against an authorised list, because no list exists. Without DMARC, there is no policy telling the receiver to quarantine or reject unauthenticated mail, and no alignment requirement tying the visible From header to an authenticated identity. Alignment means the domain in the visible From header must match a domain that actually passed an authentication check; without it, a message can pass one check under one domain and display a different one to the reader.
The design mistake is the omission of email authentication records for a domain the organisation controls, which the report frames as a departure from the security best practice of publishing them. It is not a coding error in a program; it is a missing configuration in a public directory.
The domain publishes no SPF or DMARC records for a receiver to act on. The report does not describe any DMARC or SPF record on a parent or related domain, so it is not possible to say from the text whether a stricter policy elsewhere would have changed the outcome.
Impact
An attacker can send email that appears to come from mb-cosmos.com. Because the messages are not authenticated against any published policy, they can be used for phishing: convincing recipients that a message is legitimate, and potentially tricking them into revealing sensitive information or performing harmful actions. Phishing is the practice of sending a message that looks trustworthy so the reader clicks a link, opens an attachment or hands over a password. The researcher observed that spoofed mail was delivered straight to the inbox rather than being treated as spam, which raises the chance a recipient acts on it.
The report does not quantify how many recipients or which mail providers were affected beyond the single test delivery.
Fix
The report does not state what remediation was applied, or whether any was. The measure it identifies is the publication of SPF and DMARC records for mb-cosmos.com, so that receiving servers can authenticate mail claiming to come from the domain and apply a policy when authentication fails. In plain terms: publish the guest list, and publish the instruction card that says what to do with people who are not on it. Whether the records were added, and with which policy, is not recorded in the report.
Variants to test
These are the same idea applied in other places, useful if you want to look for similar problems yourself.
- Subdomains and sibling domains. Check SPF and DMARC on every host under the organisation's namespaces, not just the apex. The apex is the bare domain, like
example.com; a subdomain is anything in front of it, likemail.example.com. A positive result is a domain that resolves and is used for mail but returns nov=spf1TXT record and no_dmarcTXT record. A TXT record is simply a DNS record holding text, andv=spf1is the marker that identifies an SPF record. - SPF present but permissive. Look for records ending in
+allor?all, or with overly broadinclude:entries.+allmeans every computer on the internet is allowed to send for the domain, which defeats the point;include:pulls in another domain's list, and a broad one pulls in far too much. A positive result is a record that authorises far more senders than the organisation intends. - DMARC present but weak. Look for
p=nonewith no enforcement, or missingspon subdomains.p=nonemeans report but do nothing, so fake mail still arrives;spis the separate policy for subdomains. A positive result is a policy that reports but never quarantines or rejects. - Lookalike and legacy domains. Domains acquired through mergers, marketing campaigns or regional sites are often left without records. A positive result is the same delivery test succeeding from a domain the organisation owns.
- DKIM alignment. Even with SPF and DMARC, check whether DKIM is configured and aligned. A positive result is a domain where DMARC passes only through SPF and would fail if the sending host changed.
Hunting notes
This class of bug hides in DNS rather than in application code, so it surfaces during recon: enumerate the organisation's domains and subdomains, then query TXT records for each. Recon, short for reconnaissance, is the early stage of a security test where you map out what exists before trying anything. The signal is a domain that is clearly in use but has no v=spf1 record and no _dmarc record. The delivery test through a spoofing service, sent to a mailbox the researcher controls, turns the missing record into a demonstrated outcome, and the observation that the message reached the inbox rather than spam is what shows the practical consequence. That combination, a missing record plus a delivered spoof, is what the program summarised.
Glossary
- DNS: the internet's public directory that turns domain names into addresses and stores small text records about a domain.
- DNS record: a single entry in that directory, such as one holding text or mail routing information.
- TXT record: a DNS record whose contents are plain text; SPF and DMARC records are stored this way.
- Domain: the part of an email address or web address after the
@orwww., such asexample.com. - Subdomain: a name in front of a domain, such as
mail.example.com. - Apex domain: the bare domain with nothing in front of it.
- SPF (Sender Policy Framework): a DNS record listing which computers are allowed to send email for a domain.
- DMARC (Domain-based Message Authentication, Reporting & Conformance): a DNS record saying what a receiver should do with mail that fails authentication, and where to send reports.
- DKIM: a cryptographic signature on an email that lets the receiver check it was not altered.
- Alignment: the requirement that the domain shown to the reader matches a domain that actually passed authentication.
v=spf1: the text at the start of an SPF record that identifies it as one._dmarc: the name under which a domain's DMARC record is published.p=none: a DMARC setting that asks receivers to report failures but take no action on the mail.sp: a DMARC setting giving a separate policy for subdomains.+all/?all: SPF endings that authorise every sender, or express no opinion, making the record effectively useless.include:: an SPF instruction that imports another domain's list of allowed senders.- Email spoofing: sending a message with a sender address you do not own, so it appears to come from someone else.
- Envelope sender: the address used in the technical exchange between mail servers.
- Header sender: the address displayed to the reader in the mail app.
- Phishing: a message that looks trustworthy to trick the reader into clicking, opening something or giving away information.
- Spam filter: software on the receiving side that decides whether a message looks unwanted or suspicious.
- Bug bounty program: an arrangement where a company invites outside researchers to report security problems, sometimes for a reward.
- HackerOne: the platform where this report was filed and disclosed.
- CWE-657: a catalogue label for a weakness described as a violation of secure design principles.
- Severity: a rating of how serious a reported issue is; here, medium.
- Recon: the mapping-out stage of a security test, before any exploitation.
- Disposable mailbox: a temporary email address you can create and discard, used here to receive the test message safely.