CVE-2014-3556: Command Injection

Published Aug 5, 2014
·
Updated

The STARTTLS implementation in mail/ngxmailsmtphandler.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.

Other sources

Upstream [1] reports: ... A bug in nginx SMTP proxy was found, which allows an attacker in a privileged network position to inject commands into SSL sessions started with the STARTTLS command, potentially making it possible to steal sensitive information sent by clients (CVE-2014-3556).

The problem affects nginx 1.5.6 - 1.7.3.

The problem is fixed in nginx 1.7.4, 1.6.1.

Patch for the problem can be found here:

http://nginx.org/download/patch.2014.starttls.txt

[1]: http://mailman.nginx.org/pipermail/nginx-announce/2014/000144.html

Red Hat

Affected Software

4 affected componentsFixes available
redhat/nginx<1.6.1
1.6.1
redhat/nginx<1.7.4
1.7.4
F5 Nginx>=1.5.6<1.6.1
F5 Nginx>=1.7.0<1.7.4

Event History

Dec 29, 2014
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-3556?

CVE-2014-3556 is considered to have a medium severity due to its potential for man-in-the-middle attacks.

2

How do I fix CVE-2014-3556?

To remediate CVE-2014-3556, upgrade to Nginx version 1.6.1 or 1.7.4 or later.

3

Which versions of Nginx are affected by CVE-2014-3556?

Nginx versions 1.5.x and 1.6.x before 1.6.1, as well as 1.7.x before 1.7.4, are affected by CVE-2014-3556.

4

What kind of attack does CVE-2014-3556 allow?

CVE-2014-3556 allows man-in-the-middle attackers to insert commands into encrypted SMTP sessions.

5

What is the root cause of CVE-2014-3556?

The vulnerability arises from the STARTTLS implementation not properly restricting I/O buffering in the SMTP proxy of Nginx.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203