Skip to content

Postfix SMTP Smuggling - Expect Script POC

Notifications You must be signed in to change notification settings

ZEROF/CVE-2023-51764

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

CVE-2023-51764

Postfix SMTP Smuggling - Expect Script POC

send an email that is legitimate, but inside the email there is many others emails (different senders, recipients, subjet, etc). The initial email is check for SPF/DKIM/DMARC, the others inside are not !

usage: ./cve-2023-51764.sh mx.fqdn port
./cve-2023-51764.sh mail.mydomain.com 25

image

notes: chmod +x cve-2023-51764.sh
require app expect
require legitimate ip sender and email sender (to pass SPF, DKIM, DMARC)

result:

image


Kudos: https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide
Workaround/Fix: https://www.postfix.org/smtp-smuggling.html


more about me ;) https://www.linkedin.com/in/duy-huan-bui/

⚠️ Disclaimer: IMPORTANT: This script is provided for educational, ethical testing, and lawful use ONLY. Do not use it on any system or network without explicit permission. Unauthorized access to computer systems and networks is illegal, and users caught performing unauthorized activities are subject to legal actions. The author is NOT responsible for any damage caused by the misuse of this script.

About

Postfix SMTP Smuggling - Expect Script POC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%