Improper input validation in samba
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-522.
Summary
A flaw was found in the way samba before 4.7.9 and 4.8.4 allowed the use of weak NTLMv1 authentication even when NTLMv1 was explicitly disabled. A man-in-the-middle attacker could use this flaw to read the credential and other details passed between the samba server and client.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Samba | samba | before 4.7.9; before 4.8.4 | 4.7.9, 4.8.4 | Patch available | CNA |
- samba VendorSamba Affected before 4.7.9; before 4.8.4 Fixed in 4.7.9, 4.8.4 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.7.0 to before 4.7.9; 4.8.0 to before 4.8.4 | Vulnerable | Samba |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 4.7.0 to before 4.7.9; 4.8.0 to before 4.8.4 Vulnerable ·Samba
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
- Fix · CNA samba (The Samba Team) Fixed in 4.7.9, 4.8.4
Red Hat 3 advisories
- RHSA-2018:3056 Released 2018-10-30 · Red Hat rating Moderatesamba security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +10
- Red Hat Enterprise Linux Client Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-4.8.3-4.el7 +10
- Red Hat Enterprise Linux ComputeNode (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +9
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-4.8.3-4.el7 +11
- Red Hat Enterprise Linux Server (v. 7) libsmbclient-4.8.3-4.el7, libsmbclient-4.8.3-4.el7.ppc, libwbclient-4.8.3-4.el7 +16
- Red Hat Enterprise Linux Server Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libsmbclient-devel-4.8.3-4.el7.ppc, libwbclient-devel-4.8.3-4.el7 +13
- Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb-4.8.3-4.el7, ctdb-tests-4.8.3-4.el7
- Red Hat Enterprise Linux Workstation (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-dc-4.8.3-4.el7 +8
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +11
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-dc-4.8.3-4.el7 +8
- RHSA-2018:2613 Released 2018-09-04 · Red Hat rating Moderatesamba security, bug fix and enhancement update
- Red Hat Gluster 3.4 Samba on RHEL-7 ctdb-4.7.5-110.el7rhgs, libsmbclient-4.7.5-110.el7rhgs, libsmbclient-devel-4.7.5-110.el7rhgs +31
- RHSA-2018:2612 Released 2018-09-04 · Red Hat rating Moderatesamba security, bug fix and enhancement update
- Red Hat Gluster 3.4 Samba on RHEL-6 ctdb-4.7.5-110.el6rhs, libsmbclient-4.7.5-110.el6rhs, libsmbclient-devel-4.7.5-110.el6rhs +31
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
The Samba Team samba — USN-3738-1
4 records Highest priority Priority MEDIUM 2 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2018-07672 Improper input validation in sambaPriority MEDIUM 45
- TI-2018-07730 NULL pointer dereference in sambaPriority LOW 34
- TI-2018-07731 Observable discrepancy in sambaPriority LOW 33
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Server Resilient Storage (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Gluster 3.4 Samba on RHEL-6 | Fixed | RHSA-2018:2612 |
| Red Hat Gluster 3.4 Samba on RHEL-7 | Fixed | RHSA-2018:2613 |
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1139
- 2026-10-03 Alias added: GHSA-xxm3-fp55-pm48
References
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2018-1139 · CVE Program
- CVE-2018-1139 · NVD
- FIRST EPSS
- GHSA-xxm3-fp55-pm48 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1139 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences