smtpd / qpsmtpd

qpsmtpd is a flexible smtpd daemon written in Perl
http://smtpd.github.io/qpsmtpd/
MIT License
138 stars 75 forks source link

SMTP Smuggling: qpsmtpd seems to be not affected #317

Open wornet-aer opened 9 months ago

wornet-aer commented 9 months ago

After reading about the current SMTP Smuggling issue, I was very curious, if qpsmtpd is also vulnerable. So I tried to exploit this issue using smtpsmug.

Result: qpsmtpd correctly handled all my exploit probes and returns 421 See http://smtpd.develooper.com/barelf.html or 451 Incomplete DATA.

However there is one case that may have room for improvement: qpsmtpd currently also accepts \n.\r\n as end-of-data command, instead of \r\n.\r\n as specified in the RFC.

References: