ID CVE-2012-4518
Summary ibacm 1.0.7 creates files with world-writable permissions, which allows local users to overwrite the ib_acm daemon log or ibacm.port file.
References
Vulnerable Configurations
  • cpe:2.3:a:openfabrics:ibacm:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:openfabrics:ibacm:1.0.7:*:*:*:*:*:*:*
CVSS
Base: 3.6 (as of 08-03-2013 - 04:09)
Impact:
Exploitability:
CWE CWE-264
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.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:N/C:N/I:P/A:P
redhat via4
advisories
bugzilla
id 865499
title CVE-2012-4518 ibacm: ibacm service files created with world writable permissions (DoS)
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 infinipath-psm is earlier than 0:3.0.1-115.1015_open.1.el6
          oval oval:com.redhat.rhsa:tst:20130509001
        • 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.1.el6
          oval oval:com.redhat.rhsa:tst:20130509003
        • comment infinipath-psm-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509004
      • AND
        • comment rdma is earlier than 0:3.6-1.el6
          oval oval:com.redhat.rhsa:tst:20130509005
        • comment rdma is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509006
      • AND
        • comment libibverbs is earlier than 0:1.1.6-5.el6
          oval oval:com.redhat.rhsa:tst:20130509007
        • 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.6-5.el6
          oval oval:com.redhat.rhsa:tst:20130509009
        • 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.6-5.el6
          oval oval:com.redhat.rhsa:tst:20130509011
        • 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.6-5.el6
          oval oval:com.redhat.rhsa:tst:20130509013
        • comment libibverbs-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509014
      • AND
        • comment libmlx4 is earlier than 0:1.0.4-1.el6
          oval oval:com.redhat.rhsa:tst:20130509015
        • 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.4-1.el6
          oval oval:com.redhat.rhsa:tst:20130509017
        • comment libmlx4-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509018
      • AND
        • comment libibumad is earlier than 0:1.3.8-1.el6
          oval oval:com.redhat.rhsa:tst:20130509019
        • comment libibumad is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509020
      • AND
        • comment libibumad-devel is earlier than 0:1.3.8-1.el6
          oval oval:com.redhat.rhsa:tst:20130509021
        • comment libibumad-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509022
      • AND
        • comment libibumad-static is earlier than 0:1.3.8-1.el6
          oval oval:com.redhat.rhsa:tst:20130509023
        • comment libibumad-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509024
      • AND
        • comment libibmad is earlier than 0:1.3.9-1.el6
          oval oval:com.redhat.rhsa:tst:20130509025
        • comment libibmad is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509026
      • AND
        • comment libibmad-devel is earlier than 0:1.3.9-1.el6
          oval oval:com.redhat.rhsa:tst:20130509027
        • comment libibmad-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509028
      • AND
        • comment libibmad-static is earlier than 0:1.3.9-1.el6
          oval oval:com.redhat.rhsa:tst:20130509029
        • comment libibmad-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509030
      • AND
        • comment opensm is earlier than 0:3.3.15-1.el6
          oval oval:com.redhat.rhsa:tst:20130509031
        • comment opensm is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509032
      • AND
        • comment opensm-devel is earlier than 0:3.3.15-1.el6
          oval oval:com.redhat.rhsa:tst:20130509033
        • comment opensm-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509034
      • AND
        • comment opensm-libs is earlier than 0:3.3.15-1.el6
          oval oval:com.redhat.rhsa:tst:20130509035
        • comment opensm-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509036
      • AND
        • comment opensm-static is earlier than 0:3.3.15-1.el6
          oval oval:com.redhat.rhsa:tst:20130509037
        • comment opensm-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509038
      • AND
        • comment ibutils is earlier than 0:1.5.7-7.el6
          oval oval:com.redhat.rhsa:tst:20130509039
        • 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-7.el6
          oval oval:com.redhat.rhsa:tst:20130509041
        • 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-7.el6
          oval oval:com.redhat.rhsa:tst:20130509043
        • comment ibutils-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509044
      • AND
        • comment ibsim is earlier than 0:0.5-7.el6
          oval oval:com.redhat.rhsa:tst:20130509045
        • comment ibsim is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509046
      • AND
        • comment ibacm is earlier than 0:1.0.8-0.git7a3adb7.el6
          oval oval:com.redhat.rhsa:tst:20130509047
        • comment ibacm is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509048
      • AND
        • comment ibacm-devel is earlier than 0:1.0.8-0.git7a3adb7.el6
          oval oval:com.redhat.rhsa:tst:20130509049
        • comment ibacm-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509050
      • AND
        • comment infiniband-diags is earlier than 0:1.5.12-5.el6
          oval oval:com.redhat.rhsa:tst:20130509051
        • comment infiniband-diags is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509052
      • AND
        • comment infiniband-diags-devel is earlier than 0:1.5.12-5.el6
          oval oval:com.redhat.rhsa:tst:20130509053
        • comment infiniband-diags-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509054
      • AND
        • comment infiniband-diags-devel-static is earlier than 0:1.5.12-5.el6
          oval oval:com.redhat.rhsa:tst:20130509055
        • comment infiniband-diags-devel-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509056
      • AND
        • comment librdmacm is earlier than 0:1.0.17-0.git4b5c1aa.el6
          oval oval:com.redhat.rhsa:tst:20130509057
        • 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-0.git4b5c1aa.el6
          oval oval:com.redhat.rhsa:tst:20130509059
        • 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-0.git4b5c1aa.el6
          oval oval:com.redhat.rhsa:tst:20130509061
        • 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-0.git4b5c1aa.el6
          oval oval:com.redhat.rhsa:tst:20130509063
        • comment librdmacm-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130509064
rhsa
id RHSA-2013:0509
released 2013-02-20
severity Low
title RHSA-2013:0509: rdma security, bug fix and enhancement update (Low)
rpms
  • ibacm-0:1.0.8-0.git7a3adb7.el6
  • ibacm-debuginfo-0:1.0.8-0.git7a3adb7.el6
  • ibacm-devel-0:1.0.8-0.git7a3adb7.el6
  • ibsim-0:0.5-7.el6
  • ibsim-debuginfo-0:0.5-7.el6
  • ibutils-0:1.5.7-7.el6
  • ibutils-debuginfo-0:1.5.7-7.el6
  • ibutils-devel-0:1.5.7-7.el6
  • ibutils-libs-0:1.5.7-7.el6
  • infiniband-diags-0:1.5.12-5.el6
  • infiniband-diags-debuginfo-0:1.5.12-5.el6
  • infiniband-diags-devel-0:1.5.12-5.el6
  • infiniband-diags-devel-static-0:1.5.12-5.el6
  • infinipath-psm-0:3.0.1-115.1015_open.1.el6
  • infinipath-psm-debuginfo-0:3.0.1-115.1015_open.1.el6
  • infinipath-psm-devel-0:3.0.1-115.1015_open.1.el6
  • libibmad-0:1.3.9-1.el6
  • libibmad-debuginfo-0:1.3.9-1.el6
  • libibmad-devel-0:1.3.9-1.el6
  • libibmad-static-0:1.3.9-1.el6
  • libibumad-0:1.3.8-1.el6
  • libibumad-debuginfo-0:1.3.8-1.el6
  • libibumad-devel-0:1.3.8-1.el6
  • libibumad-static-0:1.3.8-1.el6
  • libibverbs-0:1.1.6-5.el6
  • libibverbs-debuginfo-0:1.1.6-5.el6
  • libibverbs-devel-0:1.1.6-5.el6
  • libibverbs-devel-static-0:1.1.6-5.el6
  • libibverbs-utils-0:1.1.6-5.el6
  • libmlx4-0:1.0.4-1.el6
  • libmlx4-debuginfo-0:1.0.4-1.el6
  • libmlx4-static-0:1.0.4-1.el6
  • librdmacm-0:1.0.17-0.git4b5c1aa.el6
  • librdmacm-debuginfo-0:1.0.17-0.git4b5c1aa.el6
  • librdmacm-devel-0:1.0.17-0.git4b5c1aa.el6
  • librdmacm-static-0:1.0.17-0.git4b5c1aa.el6
  • librdmacm-utils-0:1.0.17-0.git4b5c1aa.el6
  • opensm-0:3.3.15-1.el6
  • opensm-debuginfo-0:3.3.15-1.el6
  • opensm-devel-0:3.3.15-1.el6
  • opensm-libs-0:3.3.15-1.el6
  • opensm-static-0:3.3.15-1.el6
  • rdma-0:3.6-1.el6
refmap via4
bid 55890
confirm http://git.openfabrics.org/git?p=~shefty/ibacm.git;a=commit;h=d204fca2b6298d7799e918141ea8e11e7ad43cec
mlist
  • [oss-security] 20121011 CVE Request -- librdmacm (one issue) / ibacm (two issues)
  • [oss-security] 20121011 Re: CVE Request -- librdmacm (one issue) / ibacm (two issues)
Last major update 08-03-2013 - 04:09
Published 22-10-2012 - 23:55
Last modified 08-03-2013 - 04:09
Back to Top