Email Spoofing
The report claims that emails can be spoofed to appear from a Badoo admin address using a third-party service. An attacker could send emails that look like they come from Badoo, potentially tricking recipients.
- Triaged in 2 hours
- Fixed in 2 months
- Paid in 2 months
- Disclosed after 2 months
There is an Email Spoofing Vulnerability. Steps to reproduce:
- Go to http://emkei.cz/
- Fill "From Email" field to [email protected] or any other badoo email.
- Fill the victim's address (your address) to "TO" field and fill in other details as you wish.
You will receive email from badoo admin. Reference: https://hackerone.com/reports/575 Thank you for time and consideration you provided for reading my report. Note: If you don't find it in your inbox, see spam folder. If the victim is using Gmail account it might be in spam folder. In other mailing service like yahoo it is directly recieved in inbox. Your sincerely, Abiral Shrestha
What the report shows
The report describes an email spoofing issue, filed on HackerOne by researcher proabiral and disclosed on 24 January 2017. The platform classifies it as low severity under the weakness category "Violation of Secure Design Principles". No bounty amount is recorded.
The researcher's claim is that a message can be made to arrive showing a Badoo sender address, so the recipient sees mail that appears to come from Badoo administration. The reproduction steps use a third-party spoofing service rather than any Badoo endpoint:
- Go to http://emkei.cz/
- Fill "From Email" field to [redacted] or any other badoo email.
- Fill the victim's address (your address) to "TO" field and fill in other details as you wish.
After sending, the researcher states that the message arrives from the Badoo admin address. The report adds a delivery note: if the message is not in the inbox, check the spam folder; with Gmail the spoofed mail may land in spam, while with other services such as Yahoo it is received directly in the inbox.
The report references an earlier HackerOne report:
https://hackerone.com/reports/575
That is the whole of the technical content. There is no captured SMTP conversation, no header dump, no DNS record, no statement about SPF, DKIM or DMARC, and no description of a fix or of the program's response. The report does not discuss authentication of the message at the receiving side.
Root cause
The report does not analyse the cause. Read literally, it shows that a sending service accepted an arbitrary From address and delivered mail to a recipient, and that the receiving mailbox displayed the Badoo address as the sender. The likely underlying condition is that the domain in the From header was not protected by an authentication policy strong enough to make receiving servers reject or quarantine unauthenticated mail claiming to be from it. Whether that was a missing or permissive SPF record, absent DKIM signing, a DMARC policy at none, or simply a receiving provider that did not enforce the published policy, the report does not say. Spoofing of this kind is a property of the sending domain's mail authentication posture and of the receiving provider's enforcement, not of a web application endpoint.
Impact
The demonstrated effect is that the researcher received a message attributed to a Badoo administrative address. The researcher's own note shows the outcome varies: with Gmail it might land in spam, while with Yahoo it is received directly in the inbox. The report does not describe any follow-on action, such as credential phishing, password reset abuse or account takeover, and does not show a victim acting on the message. Impact therefore rests on the credibility of the forged sender and on how much trust a recipient places in mail from that address.
How this kind of bug works
SMTP carries two separate identities: the envelope sender used in the SMTP transaction (MAIL FROM), and the From header that mail clients display. A sending service that lets a user set the From header freely can put any address there, and the receiving server has to decide whether to believe it.
Three mechanisms exist to bind a domain to the mail it sends:
- SPF publishes which IP addresses may send for a domain, and is checked against the envelope sender, so it does not by itself protect the displayed From header.
- DKIM adds a cryptographic signature over selected headers, including From, validated against a public key in DNS.
- DMARC ties the two together: it requires an aligned SPF or DKIM result for the From domain and tells receivers, through its policy, what to do when alignment fails (none, quarantine or reject).
Spoofing succeeds when a domain publishes no DMARC policy, publishes one at p=none, or when the receiving provider does not enforce the published policy. It also succeeds when a message is sent through a service whose own authentication passes but whose From domain does not align, if the receiver is lenient. Because enforcement lives at the receiver, the same forged message can be treated differently by different providers, as the report's Gmail and Yahoo note shows.
How to test for it
This class of issue is tested against mail infrastructure, not against a web endpoint, and the evidence that matters is the received message with its full headers.
- Identify the domain to test, for example the apex domain of the target and any subdomain that sends mail (support, no-reply, admin, billing).
- Query the published policy: look up the domain's TXT records for SPF and its
_dmarcTXT record for the DMARC policy and alignment mode. Note whether DKIM selectors are published. - Send a test message to a mailbox you control, using a third-party or self-hosted sending service that lets you set the From header to an address at the target domain. Use an address you are authorised to use and a body that makes clear it is a test.
- Retrieve the message and read the full headers: the Authentication-Results header added by your provider, the SPF, DKIM and DMARC verdicts, and the Return-Path. A positive result is a delivered message whose From header shows the target domain and whose DMARC verdict is fail, none or absent, with the message placed in the inbox rather than rejected.
- Repeat against more than one receiving provider, since enforcement differs, and record where the message lands.
Common false positives:
- The message is delivered but the headers show
dmarc=passbecause the sending service signs with an aligned domain; that is legitimate mail, not spoofing. - The message is accepted by your own relay or a permissive test mailbox but rejected by real providers.
- The message lands only in spam, which weakens the claim that a user would see it as genuine.
- The From header is rewritten by the receiving provider to a verified address, which defeats the deception.
How it is fixed
The fix sits with the domain owner's DNS and mail configuration:
- Publish an SPF record that lists only authorised senders and ends in a hard or soft fail as appropriate.
- Sign outbound mail with DKIM and publish the selector keys.
- Publish a DMARC record with an enforcing policy (quarantine or reject) and a reporting address, starting at a monitoring policy and tightening it once legitimate mail is aligned.
- Ensure every service that sends on behalf of the domain, including third-party platforms, is included in SPF and signs with an aligned DKIM domain.
Receivers contribute by enforcing DMARC and by surfacing authentication results to users.
Hunting notes
Spoofing findings tend to surface wherever a domain sends mail but its DNS posture has not kept up: newly acquired domains, marketing subdomains, regional domains, and domains that hand sending to third-party platforms. Recon signals worth checking early are a missing _dmarc record, a DMARC policy of p=none, SPF records with overly broad includes or a trailing +all, and subdomains that send mail but inherit none of the parent's policy.
Because the receiving side decides, a report is much stronger with evidence from a real provider: the full headers of a delivered message, the Authentication-Results line, and a note on which providers accepted and which rejected it. Pair the technical evidence with a concrete abuse scenario that the forged sender enables, and keep the test message clearly marked so the triager can see it was controlled. Where the only evidence is delivery to spam, say so plainly rather than overstating the impact.
What happened, in plain words
This report is about email spoofing. Email spoofing means making a message look like it was sent by someone else. In everyday life it is like writing a letter and putting a friend's name and address on the back of the envelope, even though you posted it yourself. The person receiving it sees your friend's name and may believe your friend wrote it.
The researcher, proabiral, filed the report on HackerOne. It was disclosed on 24 January 2017. The platform rates it low severity and files it under the weakness category "Violation of Secure Design Principles". No bounty amount is recorded.
The claim is simple: a message can be made to arrive showing a Badoo sender address, so the recipient sees mail that appears to come from Badoo administration. The report uses Badoo addresses as the example.
The reproduction steps do not touch any Badoo system. They use a third-party website that sends email on your behalf and lets you type in whatever sender address you like:
- Go to http://emkei.cz/
- Fill "From Email" field to [redacted] or any other badoo email.
- Fill the victim's address (your address) to "TO" field and fill in other details as you wish.
Step 1 matters because it shows the tool being used is not part of the target. The researcher is not exploiting a Badoo web page or login form; the sending happens somewhere else entirely.
Step 2 is the heart of the issue. The "From Email" field is the sender address that the recipient will see in their mail app. Typing an address at the Badoo domain there means the message will be presented as coming from Badoo, even though the researcher has no connection to Badoo's mail servers.
Step 3 is the delivery address. The report labels it as the victim's address, with the researcher's own address in brackets. The report says the other details can be filled in as you wish.
After sending, the researcher states that the message arrives from the Badoo admin address. The report adds a delivery note: if the message is not in the inbox, check the spam folder. With Gmail the spoofed mail may land in spam, while with other services such as Yahoo it is received directly in the inbox.
That note is important. It tells us the result is not the same everywhere: with Gmail the message might land in spam, while with Yahoo it is received directly in the inbox. The report references an earlier HackerOne report:
https://hackerone.com/reports/575
That is the whole of the technical content. There is no captured mail server conversation, no dump of the message headers, no DNS record, no statement about SPF, DKIM or DMARC, and no description of a fix or of the program's response. The report does not discuss authentication of the message at the receiving side.
In general, how this kind of bug works
Email has two separate identities. One is the envelope sender, the address used behind the scenes when one mail server hands a message to another, a bit like the return address on the back of an envelope. The other is the From header, the address your mail app displays, like the name printed on the front of a letter. A sending service that lets a user set the From header freely can put any address there, and the receiving server has to decide whether to believe it.
Three mechanisms exist to bind a domain to the mail it sends:
- SPF publishes which IP addresses may send for a domain, and is checked against the envelope sender, so it does not by itself protect the displayed From header.
- DKIM adds a cryptographic signature over selected headers, including From, validated against a public key in DNS.
- DMARC ties the two together: it requires an aligned SPF or DKIM result for the From domain and tells receivers, through its policy, what to do when alignment fails (none, quarantine or reject).
Spoofing succeeds when a domain publishes no DMARC policy, publishes one at p=none, or when the receiving provider does not enforce the published policy. It also succeeds when a message is sent through a service whose own authentication passes but whose From domain does not align, if the receiver is lenient. Because enforcement lives at the receiver, the same forged message can be treated differently by different providers, as the report's Gmail and Yahoo note shows.
The report does not analyse the cause. Read literally, it shows that a sending service accepted an arbitrary From address and delivered mail to a recipient, and that the receiving mailbox displayed the Badoo address as the sender. The likely underlying condition is that the domain in the From header was not protected by an authentication policy strong enough to make receiving servers reject or quarantine unauthenticated mail claiming to be from it. Whether that was a missing or permissive SPF record, absent DKIM signing, a DMARC policy at none, or simply a receiving provider that did not enforce the published policy, the report does not say. Spoofing of this kind is a property of the sending domain's mail authentication posture and of the receiving provider's enforcement, not of a web application endpoint.
The demonstrated effect is that the researcher received a message attributed to a Badoo administrative address. The researcher's own note shows the outcome varies: with Gmail it might land in spam, while with Yahoo it is received directly in the inbox. The report does not describe any follow-on action, such as credential phishing, password reset abuse or account takeover, and does not show a victim acting on the message. Impact therefore rests on the credibility of the forged sender and on how much trust a recipient places in mail from that address.
This class of issue is tested against mail infrastructure, not against a web endpoint, and the evidence that matters is the received message with its full headers.
- Identify the domain to test, for example the apex domain of the target and any subdomain that sends mail (support, no-reply, admin, billing).
- Query the published policy: look up the domain's TXT records for SPF and its
_dmarcTXT record for the DMARC policy and alignment mode. Note whether DKIM selectors are published. - Send a test message to a mailbox you control, using a third-party or self-hosted sending service that lets you set the From header to an address at the target domain. Use an address you are authorised to use and a body that makes clear it is a test.
- Retrieve the message and read the full headers: the Authentication-Results header added by your provider, the SPF, DKIM and DMARC verdicts, and the Return-Path. A positive result is a delivered message whose From header shows the target domain and whose DMARC verdict is fail, none or absent, with the message placed in the inbox rather than rejected.
- Repeat against more than one receiving provider, since enforcement differs, and record where the message lands.
Common false positives:
- The message is delivered but the headers show
dmarc=passbecause the sending service signs with an aligned domain; that is legitimate mail, not spoofing. - The message is accepted by your own relay or a permissive test mailbox but rejected by real providers.
- The message lands only in spam, which weakens the claim that a user would see it as genuine.
- The From header is rewritten by the receiving provider to a verified address, which defeats the deception.
The fix sits with the domain owner's DNS and mail configuration:
- Publish an SPF record that lists only authorised senders and ends in a hard or soft fail as appropriate.
- Sign outbound mail with DKIM and publish the selector keys.
- Publish a DMARC record with an enforcing policy (quarantine or reject) and a reporting address, starting at a monitoring policy and tightening it once legitimate mail is aligned.
- Ensure every service that sends on behalf of the domain, including third-party platforms, is included in SPF and signs with an aligned DKIM domain.
Receivers contribute by enforcing DMARC and by surfacing authentication results to users.
Spoofing findings tend to surface wherever a domain sends mail but its DNS posture has not kept up: newly acquired domains, marketing subdomains, regional domains, and domains that hand sending to third-party platforms. Recon signals worth checking early are a missing _dmarc record, a DMARC policy of p=none, SPF records with overly broad includes or a trailing +all, and subdomains that send mail but inherit none of the parent's policy.
Because the receiving side decides, a report is much stronger with evidence from a real provider: the full headers of a delivered message, the Authentication-Results line, and a note on which providers accepted and which rejected it. Pair the technical evidence with a concrete abuse scenario that the forged sender enables, and keep the test message clearly marked so the triager can see it was controlled. Where the only evidence is delivery to spam, say so plainly rather than overstating the impact.
Glossary
- Email spoofing: sending a message with a forged sender address so it appears to come from someone else.
- From header: the sender address your mail app displays to the recipient.
- Envelope sender: the address used between mail servers during delivery, separate from the From header.
- SMTP: the protocol mail servers use to hand messages to each other.
- SPF: a DNS record listing which IP addresses are allowed to send mail for a domain.
- DKIM: a cryptographic signature added to a message and checked against a public key in DNS.
- DMARC: a DNS policy that requires an aligned SPF or DKIM result for the From domain and says what receivers should do when it fails.
- Alignment: whether the domain that passed SPF or DKIM matches the domain shown in the From header.
- p=none: a DMARC policy that only reports failures and asks receivers to take no action.
- Authentication-Results: a header added by the receiving provider recording the SPF, DKIM and DMARC verdicts.
- Return-Path: a header showing the envelope sender address of a delivered message.
- False positive: a finding that looks like a vulnerability but is not one.
- Triager: the person who reviews a submitted report and decides whether it is valid.
- Recon: the early information-gathering stage of a security test.