id: spoofable-spf-records-ptr info: name: Spoofable SPF Records with PTR Mechanism author: binaryfigments severity: info 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 tags: dns,spf dns: - name: "{{FQDN}}" type: TXT matchers: - type: word words: - "v=spf1" - " ptr " condition: and # Enhanced by mp on 2022/03/14