ID CVE-2010-0787
Summary client/mount.cifs.c in mount.cifs in smbfs in Samba 3.0.22, 3.0.28a, 3.2.3, 3.3.2, 3.4.0, and 3.4.5 allows local users to mount a CIFS share on an arbitrary mountpoint, and gain privileges, via a symlink attack on the mountpoint directory file.
References
Vulnerable Configurations
  • cpe:2.3:a:samba:samba:3.0.22:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:3.0.22:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:3.0.28a:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:3.0.28a:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:3.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:3.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:3.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:3.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:3.4.5:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:3.4.5:*:*:*:*:*:*:*
CVSS
Base: 4.4 (as of 17-08-2017 - 01:32)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Manipulating Web 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.
  • 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.
  • Using Malicious 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.
  • 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.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:P/A:P
redhat via4
advisories
bugzilla
id 651722
title to Win7 with Live Essentials
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331005
    • OR
      • AND
        • comment samba3x is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054001
        • comment samba3x is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054002
      • AND
        • comment samba3x-client is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054003
        • comment samba3x-client is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054004
      • AND
        • comment samba3x-common is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054005
        • comment samba3x-common is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054006
      • AND
        • comment samba3x-doc is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054007
        • comment samba3x-doc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054008
      • AND
        • comment samba3x-domainjoin-gui is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054009
        • comment samba3x-domainjoin-gui is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054010
      • AND
        • comment samba3x-swat is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054011
        • comment samba3x-swat is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054012
      • AND
        • comment samba3x-winbind is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054013
        • comment samba3x-winbind is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054014
      • AND
        • comment samba3x-winbind-devel is earlier than 0:3.5.4-0.70.el5
          oval oval:com.redhat.rhba:tst:20110054015
        • comment samba3x-winbind-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20110054016
rhsa
id RHBA-2011:0054
released 2011-01-13
severity Low
title RHBA-2011:0054: samba3x bug fix and enhancement update (Low)
rpms
  • samba3x-0:3.5.4-0.70.el5
  • samba3x-client-0:3.5.4-0.70.el5
  • samba3x-common-0:3.5.4-0.70.el5
  • samba3x-debuginfo-0:3.5.4-0.70.el5
  • samba3x-doc-0:3.5.4-0.70.el5
  • samba3x-domainjoin-gui-0:3.5.4-0.70.el5
  • samba3x-swat-0:3.5.4-0.70.el5
  • samba3x-winbind-0:3.5.4-0.70.el5
  • samba3x-winbind-devel-0:3.5.4-0.70.el5
  • libsmbclient-0:3.0.33-3.29.el5_7.4
  • libsmbclient-devel-0:3.0.33-3.29.el5_7.4
  • samba-0:3.0.33-0.34.el4
  • samba-0:3.0.33-3.29.el5_7.4
  • samba-client-0:3.0.33-0.34.el4
  • samba-client-0:3.0.33-3.29.el5_7.4
  • samba-common-0:3.0.33-0.34.el4
  • samba-common-0:3.0.33-3.29.el5_7.4
  • samba-debuginfo-0:3.0.33-0.34.el4
  • samba-debuginfo-0:3.0.33-3.29.el5_7.4
  • samba-swat-0:3.0.33-0.34.el4
  • samba-swat-0:3.0.33-3.29.el5_7.4
refmap via4
bid
  • 37992
  • 39898
confirm
fedora
  • FEDORA-2010-1190
  • FEDORA-2010-1218
gentoo GLSA-201206-29
mandriva MDVSA-2010:090
secunia
  • 38286
  • 38308
  • 38357
suse SUSE-SR:2010:014
ubuntu USN-893-1
vupen ADV-2010-1062
xf sambaclient-mountcifs-symlink(55944)
statements via4
contributor Vincent Danen
lastmodified 2011-08-29
organization Red Hat
statement This issue has been addressed via RHSA-2011:1219 (https://rhn.redhat.com/errata/RHSA-2011-1219.html).
Last major update 17-08-2017 - 01:32
Published 02-03-2010 - 18:30
Last modified 17-08-2017 - 01:32
Back to Top