Path traversal in Samba - CVE-2019-10218
Published: October 29, 2019
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in filenames within Samba client code (libsmbclient). A malicious SMB server can return a filename to the client containing directory traversal characters and force the client to read or write data to local files.
Successful exploitation of the vulnerability may allow an attacker to overwrite arbitrary files on the client.
Affected software
Amazon Linux AMI
Arch Linux
Red Hat Enterprise Linux Resilient Storage for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Opensuse
Fedora
libtevent (Red Hat package)
libtdb (Red Hat package)
libtalloc (Red Hat package)
samba (Alpine package)
samba (Red Hat package)
samba (Ubuntu package)
openchange (Red Hat package)
samba
ctdb (Red Hat package)
ctdb-tests (Red Hat package)
RoboHelp
RSA Authentication Manager
How to mitigate CVE-2019-10218
libtevent (Red Hat package) - update to 0.10.0-4.el7rhgs
libtdb (Red Hat package) - update to 1.4.2-4.el7rhgs
libtalloc (Red Hat package) - update to 2.2.0-9.el7rhgs
samba (Alpine package) - update to 4.8.12-r1
samba (Red Hat package) - addressed in versions 4.11.2-13.el8, 4.11.6-104.el7rhgs
samba (Ubuntu package) - addressed in versions 2:4.3.11+dfsg-0ubuntu0.16.04.23, 2:4.7.6+dfsg~ubuntu-0ubuntu2.13, 2:4.10.0+dfsg-0ubuntu2.6, 2:4.10.7+dfsg-0ubuntu2.2
openchange (Red Hat package) - update to 2.3-24.el8
samba - addressed in versions 4.9.15-0.fc29, 4.10.10-0.fc30, 4.11.2-0.fc31, 4.11.2-1.fc31
ctdb (Red Hat package) - update to 4.10.4-10.el7
ctdb-tests (Red Hat package) - update to 4.10.4-10.el7
RSA Authentication Manager - update to 8.4 Patch 9
External References
Related Security Bulletins
- Multiple vulnerabilities in Samba
- Ubuntu update for Samba
- Arch Linux update for samba
- OpenSUSE Linux update for samba
- OpenSUSE Linux update for samba
- Red Hat Gluster Storage 3 update for samba
- Red Hat Enterprise Linux 8 update for samba
- OpenSUSE Linux update for SUSE Manager Client Tools
- Path traversal in samba (Alpine package)
- Amazon Linux AMI update for samba
- Red Hat Enterprise Linux 7 update for samba
- Fedora 29 update for samba
- Fedora 30 update for samba
- Fedora 31 update for samba
- Fedora 31 update for samba
- RSA Authentication Manager update for third-party components