2020-11-11 21:27:34 +00:00
|
|
|
id: spoofable-spf-records-ptr
|
|
|
|
|
|
|
|
info:
|
2022-03-17 17:01:45 +00:00
|
|
|
name: Spoofable SPF Records with PTR Mechanism
|
2020-11-11 21:27:34 +00:00
|
|
|
author: binaryfigments
|
|
|
|
severity: info
|
2022-03-17 17:01:45 +00:00
|
|
|
description: SPF records in DNS containing a PTR mechanism are spoofable.
|
|
|
|
reference:
|
|
|
|
- https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability
|
|
|
|
classification:
|
|
|
|
cwe-id: CWE-200
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: dns,spf
|
2020-11-11 21:27:34 +00:00
|
|
|
|
|
|
|
dns:
|
|
|
|
- name: "{{FQDN}}"
|
|
|
|
type: TXT
|
2021-12-09 13:05:44 +00:00
|
|
|
|
2020-11-11 21:27:34 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "v=spf1"
|
|
|
|
- " ptr "
|
2022-03-17 17:01:45 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
# Enhanced by mp on 2022/03/14
|