ID CVE-2013-2561
Summary OpenFabrics ibutils 1.5.7 allows local users to overwrite arbitrary files via a symlink attack on (1) ibdiagnet.db, (2) ibdiagnet.fdbs, (3) ibdiagnet_ibis.log, (4) ibdiagnet.log, (5) ibdiagnet.lst, (6) ibdiagnet.mcfdbs, (7) ibdiagnet.pkey, (8) ibdiagnet.psl, (9) ibdiagnet.slvl, or (10) ibdiagnet.sm in /tmp/.
References
Vulnerable Configurations
  • cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:openfabrics:ibutils:1.5.7:*:*:*:*:*:*:*
    cpe:2.3:a:openfabrics:ibutils:1.5.7:*:*:*:*:*:*:*
CVSS
Base: 6.3 (as of 22-04-2019 - 17:48)
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
NONE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:M/Au:N/C:N/I:C/A:C
redhat via4
advisories
bugzilla
id 927430
title CVE-2013-2561 ibutils: insecure handling of files in the /tmp directory
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 6 is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • comment libibverbs is earlier than 0:1.1.7-1.el6
          oval oval:com.redhat.rhsa:tst:20131661001
        • comment libibverbs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509008
      • AND
        • comment libibverbs-devel is earlier than 0:1.1.7-1.el6
          oval oval:com.redhat.rhsa:tst:20131661003
        • comment libibverbs-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509010
      • AND
        • comment libibverbs-devel-static is earlier than 0:1.1.7-1.el6
          oval oval:com.redhat.rhsa:tst:20131661005
        • comment libibverbs-devel-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509012
      • AND
        • comment libibverbs-utils is earlier than 0:1.1.7-1.el6
          oval oval:com.redhat.rhsa:tst:20131661007
        • comment libibverbs-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509014
      • AND
        • comment rdma is earlier than 0:3.10-3.el6
          oval oval:com.redhat.rhsa:tst:20131661009
        • comment rdma is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509006
      • AND
        • comment librdmacm is earlier than 0:1.0.17-1.el6
          oval oval:com.redhat.rhsa:tst:20131661011
        • comment librdmacm is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509058
      • AND
        • comment librdmacm-devel is earlier than 0:1.0.17-1.el6
          oval oval:com.redhat.rhsa:tst:20131661013
        • comment librdmacm-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509060
      • AND
        • comment librdmacm-static is earlier than 0:1.0.17-1.el6
          oval oval:com.redhat.rhsa:tst:20131661015
        • comment librdmacm-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509062
      • AND
        • comment librdmacm-utils is earlier than 0:1.0.17-1.el6
          oval oval:com.redhat.rhsa:tst:20131661017
        • comment librdmacm-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509064
      • AND
        • comment infinipath-psm is earlier than 0:3.0.1-115.1015_open.2.el6
          oval oval:com.redhat.rhsa:tst:20131661019
        • comment infinipath-psm is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509002
      • AND
        • comment infinipath-psm-devel is earlier than 0:3.0.1-115.1015_open.2.el6
          oval oval:com.redhat.rhsa:tst:20131661021
        • comment infinipath-psm-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509004
      • AND
        • comment openmpi is earlier than 0:1.5.4-2.el6
          oval oval:com.redhat.rhsa:tst:20131661023
        • comment openmpi is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661024
      • AND
        • comment openmpi-devel is earlier than 0:1.5.4-2.el6
          oval oval:com.redhat.rhsa:tst:20131661025
        • comment openmpi-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661026
      • AND
        • comment libmlx4 is earlier than 0:1.0.5-4.el6.1
          oval oval:com.redhat.rhsa:tst:20131661027
        • comment libmlx4 is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509016
      • AND
        • comment libmlx4-static is earlier than 0:1.0.5-4.el6.1
          oval oval:com.redhat.rhsa:tst:20131661029
        • comment libmlx4-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509018
      • AND
        • comment qperf is earlier than 0:0.4.9-1.el6
          oval oval:com.redhat.rhsa:tst:20131661031
        • comment qperf is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661032
      • AND
        • comment mstflint is earlier than 0:3.0-0.6.g6961daa.1.el6
          oval oval:com.redhat.rhsa:tst:20131661033
        • comment mstflint is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661034
      • AND
        • comment ibutils is earlier than 0:1.5.7-8.el6
          oval oval:com.redhat.rhsa:tst:20131661035
        • comment ibutils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509040
      • AND
        • comment ibutils-devel is earlier than 0:1.5.7-8.el6
          oval oval:com.redhat.rhsa:tst:20131661037
        • comment ibutils-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509042
      • AND
        • comment ibutils-libs is earlier than 0:1.5.7-8.el6
          oval oval:com.redhat.rhsa:tst:20131661039
        • comment ibutils-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509044
      • AND
        • comment mpitests-mvapich is earlier than 0:3.2-9.el6
          oval oval:com.redhat.rhsa:tst:20131661041
        • comment mpitests-mvapich is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661042
      • AND
        • comment mpitests-mvapich-psm is earlier than 0:3.2-9.el6
          oval oval:com.redhat.rhsa:tst:20131661043
        • comment mpitests-mvapich-psm is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661044
      • AND
        • comment mpitests-mvapich2 is earlier than 0:3.2-9.el6
          oval oval:com.redhat.rhsa:tst:20131661045
        • comment mpitests-mvapich2 is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661046
      • AND
        • comment mpitests-mvapich2-psm is earlier than 0:3.2-9.el6
          oval oval:com.redhat.rhsa:tst:20131661047
        • comment mpitests-mvapich2-psm is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661048
      • AND
        • comment mpitests-openmpi is earlier than 0:3.2-9.el6
          oval oval:com.redhat.rhsa:tst:20131661049
        • comment mpitests-openmpi is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661050
      • AND
        • comment perftest is earlier than 0:2.0-2.el6
          oval oval:com.redhat.rhsa:tst:20131661051
        • comment perftest is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131661052
rhsa
id RHSA-2013:1661
released 2013-11-20
severity Moderate
title RHSA-2013:1661: RDMA stack security, bug fix, and enhancement update (Moderate)
rpms
  • ibutils-0:1.5.7-8.el6
  • ibutils-debuginfo-0:1.5.7-8.el6
  • ibutils-devel-0:1.5.7-8.el6
  • ibutils-libs-0:1.5.7-8.el6
  • infinipath-psm-0:3.0.1-115.1015_open.2.el6
  • infinipath-psm-debuginfo-0:3.0.1-115.1015_open.2.el6
  • infinipath-psm-devel-0:3.0.1-115.1015_open.2.el6
  • libibverbs-0:1.1.7-1.el6
  • libibverbs-debuginfo-0:1.1.7-1.el6
  • libibverbs-devel-0:1.1.7-1.el6
  • libibverbs-devel-static-0:1.1.7-1.el6
  • libibverbs-utils-0:1.1.7-1.el6
  • libmlx4-0:1.0.5-4.el6.1
  • libmlx4-debuginfo-0:1.0.5-4.el6.1
  • libmlx4-static-0:1.0.5-4.el6.1
  • librdmacm-0:1.0.17-1.el6
  • librdmacm-debuginfo-0:1.0.17-1.el6
  • librdmacm-devel-0:1.0.17-1.el6
  • librdmacm-static-0:1.0.17-1.el6
  • librdmacm-utils-0:1.0.17-1.el6
  • mpitests-debuginfo-0:3.2-9.el6
  • mpitests-mvapich-0:3.2-9.el6
  • mpitests-mvapich-psm-0:3.2-9.el6
  • mpitests-mvapich2-0:3.2-9.el6
  • mpitests-mvapich2-psm-0:3.2-9.el6
  • mpitests-openmpi-0:3.2-9.el6
  • mstflint-0:3.0-0.6.g6961daa.1.el6
  • mstflint-debuginfo-0:3.0-0.6.g6961daa.1.el6
  • openmpi-0:1.5.4-2.el6
  • openmpi-debuginfo-0:1.5.4-2.el6
  • openmpi-devel-0:1.5.4-2.el6
  • perftest-0:2.0-2.el6
  • perftest-debuginfo-0:2.0-2.el6
  • qperf-0:0.4.9-1.el6
  • qperf-debuginfo-0:0.4.9-1.el6
  • rdma-0:3.10-3.el6
refmap via4
bid 58335
confirm
fulldisc 20130306 OpenFabrics ibutils 1.5.7 /tmp clobbering vulnerability
mlist
  • [oss-secuirty] 20130325 Re: CVE request: ibutils improper use of files in /tmp
  • [oss-secuirty] 20130326 Re: CVE request: ibutils improper use of files in /tmp
  • [oss-security] 20130319 Fwd: CVE requests
Last major update 22-04-2019 - 17:48
Published 23-11-2013 - 18:55
Last modified 22-04-2019 - 17:48
Back to Top