foxcpp / foxcpp/maddy

Ensure security for DMARC report generation

Open
#153 0 comments 3 reactions 0 assignees View on GitHub
mta-in mta-out security
Dominant language
Go
Stars
6.1k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

Follow-up for #206.

Sophisticated attacks based on ability to modify DNS records related to DMARC as observed by receiving server (MitM, cache poisoning, etc) can be used to disclose contents of messages otherwise protected by TLS.

- Report generation is disabled if zone containing DMARC record or "report receiver" record is not DNSSEC-signed.
- If message that caused report to be generated is delivered over TLS then report itself must be delivered over TLS. MX record authentication (via MTA-STS or DNSSEC) is required for report recipient as TLS is insecure without it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.