The STARTTLS implementation in mail/ngx_mail_smtp_handler.c in the SMTP proxy in nginx 1.5.x and 1.6.x before 1.6.1 and 1.7.x before 1.7.4 does not properly restrict I/O buffering, which allows man-in-the-middle attackers to insert commands into encrypted SMTP sessions by sending a cleartext command that is processed after TLS is in place, related to a "plaintext command injection" attack, a similar issue to CVE-2011-0411.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Link | Tags |
---|---|
http://marc.info/?l=bugtraq&m=142103967620673&w=2 | issue tracking third party advisory vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1126891 | issue tracking third party advisory |
http://mailman.nginx.org/pipermail/nginx-announce/2014/000144.html | mailing list patch vendor advisory |
http://nginx.org/download/patch.2014.starttls.txt | patch vendor advisory |