ID CVE-2017-2619
Summary Samba before versions 4.6.1, 4.5.7 and 4.4.11 are vulnerable to a malicious client using a symlink race to allow access to areas of the server file system not exported under the share definition.
References
Vulnerable Configurations
  • cpe:2.3:a:samba:samba:4.4.11:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.4.11:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.5.7:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.5.7:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.6.1:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
CVSS
Base: 6.0 (as of 09-10-2019 - 23:26)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK MEDIUM SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:S/C:P/I:P/A:P
redhat via4
advisories
  • bugzilla
    id 1429472
    title CVE-2017-2619 samba: symlink race permits opening files outside share directory
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 7 Client is installed
        oval oval:com.redhat.rhba:tst:20150364001
      • comment Red Hat Enterprise Linux 7 Server is installed
        oval oval:com.redhat.rhba:tst:20150364002
      • comment Red Hat Enterprise Linux 7 Workstation is installed
        oval oval:com.redhat.rhba:tst:20150364003
      • comment Red Hat Enterprise Linux 7 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20150364004
    • OR
      • AND
        • comment ctdb is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265051
        • comment ctdb is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160006014
      • AND
        • comment ctdb-tests is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265013
        • comment ctdb-tests is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160006036
      • AND
        • comment libsmbclient is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265009
        • comment libsmbclient is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100860012
      • AND
        • comment libsmbclient-devel is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265021
        • comment libsmbclient-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100860022
      • AND
        • comment libwbclient is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265045
        • comment libwbclient is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867026
      • AND
        • comment libwbclient-devel is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265019
        • comment libwbclient-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867008
      • AND
        • comment samba is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265011
        • comment samba is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100860006
      • AND
        • comment samba-client is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265007
        • comment samba-client is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100860014
      • AND
        • comment samba-client-libs is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265035
        • comment samba-client-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160006044
      • AND
        • comment samba-common is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265053
        • comment samba-common is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100860016
      • AND
        • comment samba-common-libs is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265047
        • comment samba-common-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160006012
      • AND
        • comment samba-common-tools is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265029
        • comment samba-common-tools is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160006016
      • AND
        • comment samba-dc is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265043
        • comment samba-dc is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867028
      • AND
        • comment samba-dc-libs is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265025
        • comment samba-dc-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867014
      • AND
        • comment samba-devel is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265041
        • comment samba-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867020
      • AND
        • comment samba-krb5-printing is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265005
        • comment samba-krb5-printing is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20171265006
      • AND
        • comment samba-libs is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265031
        • comment samba-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867024
      • AND
        • comment samba-pidl is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265055
        • comment samba-pidl is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867022
      • AND
        • comment samba-python is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265027
        • comment samba-python is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867010
      • AND
        • comment samba-test is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265039
        • comment samba-test is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867040
      • AND
        • comment samba-test-libs is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265033
        • comment samba-test-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20160006028
      • AND
        • comment samba-vfs-glusterfs is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265037
        • comment samba-vfs-glusterfs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867044
      • AND
        • comment samba-winbind is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265017
        • comment samba-winbind is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100860010
      • AND
        • comment samba-winbind-clients is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265023
        • comment samba-winbind-clients is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100860020
      • AND
        • comment samba-winbind-krb5-locator is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265049
        • comment samba-winbind-krb5-locator is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20111221018
      • AND
        • comment samba-winbind-modules is earlier than 0:4.4.4-13.el7_3
          oval oval:com.redhat.rhsa:tst:20171265015
        • comment samba-winbind-modules is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20140867016
    rhsa
    id RHSA-2017:1265
    released 2017-05-22
    severity Moderate
    title RHSA-2017:1265: samba security and bug fix update (Moderate)
  • rhsa
    id RHSA-2017:2338
  • rhsa
    id RHSA-2017:2778
  • rhsa
    id RHSA-2017:2789
rpms
  • ctdb-0:4.4.4-13.el7_3
  • ctdb-tests-0:4.4.4-13.el7_3
  • libsmbclient-0:4.4.4-13.el7_3
  • libsmbclient-devel-0:4.4.4-13.el7_3
  • libwbclient-0:4.4.4-13.el7_3
  • libwbclient-devel-0:4.4.4-13.el7_3
  • samba-0:4.4.4-13.el7_3
  • samba-client-0:4.4.4-13.el7_3
  • samba-client-libs-0:4.4.4-13.el7_3
  • samba-common-0:4.4.4-13.el7_3
  • samba-common-libs-0:4.4.4-13.el7_3
  • samba-common-tools-0:4.4.4-13.el7_3
  • samba-dc-0:4.4.4-13.el7_3
  • samba-dc-libs-0:4.4.4-13.el7_3
  • samba-devel-0:4.4.4-13.el7_3
  • samba-krb5-printing-0:4.4.4-13.el7_3
  • samba-libs-0:4.4.4-13.el7_3
  • samba-pidl-0:4.4.4-13.el7_3
  • samba-python-0:4.4.4-13.el7_3
  • samba-test-0:4.4.4-13.el7_3
  • samba-test-libs-0:4.4.4-13.el7_3
  • samba-vfs-glusterfs-0:4.4.4-13.el7_3
  • samba-winbind-0:4.4.4-13.el7_3
  • samba-winbind-clients-0:4.4.4-13.el7_3
  • samba-winbind-krb5-locator-0:4.4.4-13.el7_3
  • samba-winbind-modules-0:4.4.4-13.el7_3
  • libsmbclient-0:3.6.23-45.el6_9
  • libsmbclient-devel-0:3.6.23-45.el6_9
  • samba-0:3.6.23-45.el6_9
  • samba-client-0:3.6.23-45.el6_9
  • samba-common-0:3.6.23-45.el6_9
  • samba-doc-0:3.6.23-45.el6_9
  • samba-domainjoin-gui-0:3.6.23-45.el6_9
  • samba-glusterfs-0:3.6.23-45.el6_9
  • samba-swat-0:3.6.23-45.el6_9
  • samba-winbind-0:3.6.23-45.el6_9
  • samba-winbind-clients-0:3.6.23-45.el6_9
  • samba-winbind-devel-0:3.6.23-45.el6_9
  • samba-winbind-krb5-locator-0:3.6.23-45.el6_9
refmap via4
bid 97033
confirm
debian DSA-3816
exploit-db 41740
sectrack 1038117
Last major update 09-10-2019 - 23:26
Published 12-03-2018 - 15:29
Back to Top