CVE-2017-12151: High severity Samba Samba vulnerability

Published Sep 4, 2017
·
Updated

A flaw was found in the way samba client before samba 4.4.16, samba 4.5.14 and samba 4.6.8 used encryption with the max protocol set as SMB3. The connection could lose the requirement for signing and encrypting to any DFS redirects, allowing an attacker to read or alter the contents of the connection via a man-in-the-middle attack.

Other sources

Client command line tools like 'smbclient' as well as applications using 'libsmbclient' library have support for required encryption. This is activated by the '-e|--encrypt' command line option or the smbcsetOptionSmbEncryptionLevel() library call.

By default, only SMB1 is used in order to do connections to a server, as the effective default for "client max protocol" smb.conf option as well for the "-m|--max-protocol=" command line option is "NT1".

If the original client connection used encryption, following DFS redirects to another server also enforce encryption. This is important as these redirects are transparent to the application.

In case "SMB3", "SMB300", "SMB302", "SMB310" or "SMB311" is used as max protocol and a connection actually made use of the SMB3 encryption, any redirected connection looses the requirement for encryption and maybe also the requirement for signing. That means, a man in the middle can read and/or alter the content of the connection.

Red Hat

Affected Software

16 affected componentsFixes available
debian/samba
2:4.9.5+dfsg-5+deb10u32:4.9.5+dfsg-5+deb10u42:4.13.13+dfsg-1~deb11u52:4.17.11+dfsg-0+deb12u12:4.17.12+dfsg-0+deb12u12:4.19.1+dfsg-42:4.19.2+dfsg-1
redhat/samba<4.4.16
4.4.16
redhat/samba<4.5.14
4.5.14
redhat/samba<4.6.8
4.6.8
Samba Samba<4.4.16
Samba Samba>=4.5.0<4.5.14
Samba Samba>=4.6.0<4.6.8
Debian Debian Linux=8.0
Debian Debian Linux=9.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Workstation=7.0
HP Cifs Server=b.04.05.11.00

Event History

Jul 27, 2018
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2017-12151?

CVE-2017-12151 has a medium severity rating due to its potential to allow attackers to read or alter connection data.

2

How do I fix CVE-2017-12151?

To fix CVE-2017-12151, update Samba to version 4.4.16, 4.5.14, 4.6.8 or later.

3

What versions of Samba are affected by CVE-2017-12151?

Samba versions before 4.4.16, 4.5.14, and 4.6.8 are affected by CVE-2017-12151.

4

What platforms are vulnerable to CVE-2017-12151?

Debian and Red Hat Enterprise Linux versions running affected Samba iterations are vulnerable to CVE-2017-12151.

5

Is CVE-2017-12151 exploitable remotely?

Yes, CVE-2017-12151 can be exploited remotely, allowing attackers to manipulate the connection.

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