CVE-2019-10218
published 2019-11-06CVE-2019-10218: A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client…
PriorityP338medium6.5CVSS 3.1
AVNACLPRNUIRSUCNIHAN
EPSS
3.52%
88.0th percentile
A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | samba | < samba 2:4.11.1+dfsg-2 (bookworm) | samba 2:4.11.1+dfsg-2 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| samba | samba | < 4.9.15 | 4.9.15 |
| samba | samba | — | — |
| samba | samba | >= 0 < 2:4.11.1+dfsg-2 | 2:4.11.1+dfsg-2 |
| samba | samba | >= 0 < 2:4.11.1+dfsg-2 | 2:4.11.1+dfsg-2 |
| samba | samba | >= 0 < 2:4.11.1+dfsg-2 | 2:4.11.1+dfsg-2 |
| samba | samba | >= 0 < 2:4.11.1+dfsg-2 | 2:4.11.1+dfsg-2 |
| samba | samba | >= 0 < 2:4.3.11+dfsg-0ubuntu0.16.04.23 | 2:4.3.11+dfsg-0ubuntu0.16.04.23 |
| samba | samba | >= 0 < 2:4.7.6+dfsg~ubuntu-0ubuntu2.13 | 2:4.7.6+dfsg~ubuntu-0ubuntu2.13 |
| samba | samba | >= 0 < 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm3 | 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm3 |
| samba | samba | >= 4.10.0 < 4.10.10 | 4.10.10 |
| samba | samba | >= 4.11.0 < 4.11.2 | 4.11.2 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
nvdv3.05.3MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
samba: smb client vulnerable to filenames containing path separators
vendor_redhat·2019-10-29·CVSS 6.5
CVE-2019-10218 [MEDIUM] CWE-22 samba: smb client vulnerable to filenames containing path separators
samba: smb client vulnerable to filenames containing path separators
A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.
A flaw was found in the samba client where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the pri
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2019-10-29·CVSS 6.5
CVE-2019-10218 [MEDIUM] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
Michael Hanselmann discovered that the Samba client code incorrectly
handled path separators. If a user were tricked into connecting to a
malicious server, a remote attacker could use this issue to cause the
client to access local pathnames instead of network pathnames.
(CVE-2019-10218)
Simon Fonteneau and Björn Baumbach discovered that Samba incorrectly
handled the check password script. This issue could possibly bypass custom
password complexity checks, contrary to expectations. This issue only
affected Ubuntu 18.04 LTS, Ubuntu 19.04, and Ubuntu 19.10. (CVE-2019-14833)
Adam Xu discovered that Samba incorrectly handled the dirsync LDAP control.
A remote attacker with "get changes" permissions could poss
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2019-10-29·CVSS 6.5
CVE-2019-10218 [MEDIUM] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
USN-4167-1 fixed several vulnerabilities in Samba. This update provides
the corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.
Original advisory details:
Michael Hanselmann discovered that the Samba client code incorrectly
handled path separators. If a user were tricked into connecting to a
malicious server, a remote attacker could use this issue to cause the
client to access local pathnames instead of network pathnames.
(CVE-2019-10218)
Adam Xu discovered that Samba incorrectly handled the dirsync LDAP control.
A remote attacker with "get changes" permissions could possibly use this
issue to cause Samba to crash, resulting in a denial of service. This issue
only affected Ubuntu 14.04 ESM.
Debian
CVE-2019-10218: samba - A flaw was found in the samba client, all samba versions before samba 4.11.2, 4....
vendor_debian·2019·CVSS 6.5
CVE-2019-10218 [MEDIUM] CVE-2019-10218: samba - A flaw was found in the samba client, all samba versions before samba 4.11.2, 4....
A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.
Scope: local
bookworm: resolved (fixed in 2:4.11.1+dfsg-2)
bullseye: resolved (fixed in 2:4.11.1+dfsg-2)
forky: resolved (fixed in 2:4.11.1+dfsg-2)
sid: resolved (fixed in 2:4.11.1+dfsg-2)
trixie: resolved (fixed in 2:4.11.1+dfsg-2)
GHSA
GHSA-mjrv-7h6w-94x4: A flaw was found in the samba client, all samba versions before samba 4
ghsa_unreviewed·2022-05-24
CVE-2019-10218 [MEDIUM] CWE-22 GHSA-mjrv-7h6w-94x4: A flaw was found in the samba client, all samba versions before samba 4
A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.
OSV
CVE-2019-10218: A flaw was found in the samba client, all samba versions before samba 4
osv·2019-11-06·CVSS 6.5
CVE-2019-10218 [MEDIUM] CVE-2019-10218: A flaw was found in the samba client, all samba versions before samba 4
A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.
OSV
samba vulnerabilities
osv·2019-10-29·CVSS 6.5
CVE-2019-10218 [MEDIUM] samba vulnerabilities
samba vulnerabilities
USN-4167-1 fixed several vulnerabilities in Samba. This update provides
the corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.
Original advisory details:
Michael Hanselmann discovered that the Samba client code incorrectly
handled path separators. If a user were tricked into connecting to a
malicious server, a remote attacker could use this issue to cause the
client to access local pathnames instead of network pathnames.
(CVE-2019-10218)
Adam Xu discovered that Samba incorrectly handled the dirsync LDAP control.
A remote attacker with "get changes" permissions could possibly use this
issue to cause Samba to crash, resulting in a denial of service. This issue
only affected Ubuntu 14.04 ESM. (CVE-2019-14847)
OSV
samba vulnerabilities
osv·2019-10-29·CVSS 6.5
CVE-2019-10218 [MEDIUM] samba vulnerabilities
samba vulnerabilities
Michael Hanselmann discovered that the Samba client code incorrectly
handled path separators. If a user were tricked into connecting to a
malicious server, a remote attacker could use this issue to cause the
client to access local pathnames instead of network pathnames.
(CVE-2019-10218)
Simon Fonteneau and Björn Baumbach discovered that Samba incorrectly
handled the check password script. This issue could possibly bypass custom
password complexity checks, contrary to expectations. This issue only
affected Ubuntu 18.04 LTS, Ubuntu 19.04, and Ubuntu 19.10. (CVE-2019-14833)
Adam Xu discovered that Samba incorrectly handled the dirsync LDAP control.
A remote attacker with "get changes" permissions could possibly use this
issue to cause Samba to crash, resulting in a de
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-10218 samba: smb client vulnerable to filenames containing path separators [fedora-all]
bugzilla·2019-10-29·CVSS 6.5
CVE-2019-10218 [MEDIUM] CVE-2019-10218 samba: smb client vulnerable to filenames containing path separators [fedora-all]
CVE-2019-10218 samba: smb client vulnerable to filenames containing path separators [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2019-10218 samba: smb client vulnerable to filenames containing path separators
bugzilla·2019-10-18·CVSS 6.5
CVE-2019-10218 [MEDIUM] CVE-2019-10218 samba: smb client vulnerable to filenames containing path separators
CVE-2019-10218 samba: smb client vulnerable to filenames containing path separators
As per upstream advisory:
Samba client code (libsmbclient) returns server-supplied filenames to calling code without checking for pathname separators (such as "/" or "../") in the server returned names.
A malicious server can craft a pathname containing separators and return this to client code, causing the client to use this access local pathnames for reading or writing instead of SMB network pathnames.
This access is done using the local privileges of the client.
This attack can be achieved using any of SMB1/2/3 as it is not reliant on any specific SMB protocol version.
Specifically, samba client tools like smbget and smbclient's mget use the server supplied 'final' name component as a local name wh
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00015.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10218https://lists.debian.org/debian-lts-announce/2021/05/msg00023.htmlhttps://lists.debian.org/debian-lts-announce/2023/09/msg00013.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKPYHDFI7HRELVXBE5J4MTGSI35AKFBI/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UMIYCYXCPRTVCVZ3TP6ZGPJ6RZS3IX4G/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQ3IUACPZJXSC4OM6P2V4IC4QMZQZWPD/https://www.samba.org/samba/security/CVE-2019-10218.htmlhttps://www.synology.com/security/advisory/Synology_SA_19_35http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00015.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10218https://lists.debian.org/debian-lts-announce/2021/05/msg00023.htmlhttps://lists.debian.org/debian-lts-announce/2023/09/msg00013.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKPYHDFI7HRELVXBE5J4MTGSI35AKFBI/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UMIYCYXCPRTVCVZ3TP6ZGPJ6RZS3IX4G/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQ3IUACPZJXSC4OM6P2V4IC4QMZQZWPD/https://www.samba.org/samba/security/CVE-2019-10218.htmlhttps://www.synology.com/security/advisory/Synology_SA_19_35
2019-11-06
Published