# Potential Spoofing Risk through Firefox Private Relay Service

Firefox Relay re-composes forwarded emails and rewrites From to @relay.firefox.com, stripping DKIM/ARC and lending its reputation so spoofed mail bypasses DMARC and lands in inboxes.

- Payout: $1,000
- Severity: medium
- Program: Mozilla
- Found by: nicholas_cw
- Disclosed: 2023-10-13
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/2109320
- Library page: https://bugbountylibrary.com/r/h1%3A2109320
- Tags: area:web domain:web impact:integrity kind:bounty platform:hackerone sev:medium tech:email technique:chained vuln:misconfiguration

**Target:** relay.firefox.com email forwarding service
**Root cause:** Relay re-composes the entire email with a new HTML template and rewrites the From header to @relay.firefox.com, invalidating DKIM and ARC signatures; the relay's high domain/IP reputation then boosts trust of the forwarded spoofed mail.
**Steps:**
1. Choose a spoof target domain with any DMARC policy (none, quarantine, reject); tested illinois.edu, usenix.org, nicehash.com.
2. Craft an email with a forged `From:` header matching the target domain.
3. Send the email to the victim's Firefox Relay address.
4. Relay forwards the re-composed email; it reaches the target inbox without warnings even when the spoofed domain has `DMARC=reject`.
**How found:** Researchers reasoned that Relay's re-composition and From-rewrite would invalidate DKIM/ARC, then tested spoofing across domains with DMARC policies none, quarantine, and reject to confirm delivery in all three cases.
**Exploitation:** Attacker sends a spoofed email (e.g. forged login notification from nicehash.com) to a victim's Relay alias. Relay rewrites From to @relay.firefox.com and re-composes the body, stripping DKIM/ARC, so the receiving mail server sees a high-reputation sender and delivers to inbox despite the original domain's DMARC=reject.
**Insight:** Email forwarding/relay services that rewrite From and re-template bodies break DKIM/ARC and inherit their own sender reputation—test aliasing services as a spoofing amplifier against DMARC=reject domains.

