CVE-2015-5296: Input Validation

Published Dec 10, 2015
·
Updated

As per upstream samba advisory:

Versions of Samba from 3.2.0 to 4.3.2 inclusive do not ensure that signing is negotiated when creating an encrypted client connection to a server.

Without this a man-in-the-middle attack could downgrade the connection and connect using the supplied credentials as an unsigned, unencrypted connection.

The following mitigation was suggested by upstream:

When using the smbclient command, always add the argument "--signing=required" when using the "-e" or "--encrypt" argument.

Alternatively, set the variable "client signing = mandatory" in the [global] section of the smb.conf file on any client using encrypted connections.

To protect a Samba server exporting encrypted shares against a downgrade attack set the variable "smb encrypt = mandatory" in the smb.conf definition of the encrypted shares.

Other sources

Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3 supports connections that are encrypted but unsigned, which allows man-in-the-middle attackers to conduct encrypted-to-unencrypted downgrade attacks by modifying the client-server data stream, related to clidfs.c, libsmbserver.c, and smbXclibase.c.

MITRE

Affected Software

12 affected componentsFixes available
redhat/samba<4.1.22
4.1.22
redhat/samba<4.2.7
4.2.7
redhat/samba<4.3.3
4.3.3
Samba Samba>=3.2.0<4.1.22
Samba Samba>=4.2.0<4.2.7
Samba Samba>=4.3.0<4.3.3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
Canonical Ubuntu Linux=15.10

Event History

Dec 29, 2015
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-5296?

CVE-2015-5296 is classified as a medium severity vulnerability due to potential man-in-the-middle attacks.

2

How do I fix CVE-2015-5296?

To fix CVE-2015-5296, upgrade Samba to version 4.1.22 or later, 4.2.7 or later, or 4.3.3 or later.

3

What versions of Samba are affected by CVE-2015-5296?

Samba versions from 3.2.0 to 4.3.2 inclusive are affected by CVE-2015-5296.

4

What kind of attack does CVE-2015-5296 allow?

CVE-2015-5296 allows a man-in-the-middle attack due to improper signing negotiation during encrypted connections.

5

Is there any workaround for CVE-2015-5296?

The primary recommendation is to update to the patched versions; there are no reliable workarounds for CVE-2015-5296.

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