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
  • 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
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
AND
  • comment Red Hat Enterprise Linux 5 is installed
    oval oval:com.redhat.rhba:tst:20070331001
  • OR
    • AND
      • comment samba3x is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054002
      • comment samba3x is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054003
    • AND
      • comment samba3x-client is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054010
      • comment samba3x-client is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054011
    • AND
      • comment samba3x-common is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054012
      • comment samba3x-common is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054013
    • AND
      • comment samba3x-doc is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054004
      • comment samba3x-doc is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054005
    • AND
      • comment samba3x-domainjoin-gui is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054014
      • comment samba3x-domainjoin-gui is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054015
    • AND
      • comment samba3x-swat is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054016
      • comment samba3x-swat is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054017
    • AND
      • comment samba3x-winbind is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054006
      • comment samba3x-winbind is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054007
    • AND
      • comment samba3x-winbind-devel is earlier than 0:3.5.4-0.70.el5
        oval oval:com.redhat.rhba:tst:20110054008
      • comment samba3x-winbind-devel is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhba:tst:20110054009
rhsa
released 2011-01-12
severity None
title RHBA-2011:0054: samba3x bug fix and enhancement update (None)
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-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
  • samba-0:3.0.33-0.34.el4
  • samba-client-0:3.0.33-0.34.el4
  • samba-common-0:3.0.33-0.34.el4
  • samba-swat-0:3.0.33-0.34.el4
  • 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-3.29.el5_7.4
  • samba-client-0:3.0.33-3.29.el5_7.4
  • samba-common-0:3.0.33-3.29.el5_7.4
  • 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
Back to Top