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
  • 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.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • 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.
  • 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.
  • 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 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
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment infinipath-psm is earlier than 0:3.0.1-115.1015_open.1.el6
        oval oval:com.redhat.rhsa:tst:20130509005
      • comment infinipath-psm is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509006
    • AND
      • comment infinipath-psm-devel is earlier than 0:3.0.1-115.1015_open.1.el6
        oval oval:com.redhat.rhsa:tst:20130509007
      • comment infinipath-psm-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509008
    • AND
      • comment rdma is earlier than 0:3.6-1.el6
        oval oval:com.redhat.rhsa:tst:20130509009
      • comment rdma is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509010
    • AND
      • comment libibverbs is earlier than 0:1.1.6-5.el6
        oval oval:com.redhat.rhsa:tst:20130509011
      • comment libibverbs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509012
    • AND
      • comment libibverbs-devel is earlier than 0:1.1.6-5.el6
        oval oval:com.redhat.rhsa:tst:20130509015
      • comment libibverbs-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509016
    • AND
      • comment libibverbs-devel-static is earlier than 0:1.1.6-5.el6
        oval oval:com.redhat.rhsa:tst:20130509013
      • comment libibverbs-devel-static is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509014
    • AND
      • comment libibverbs-utils is earlier than 0:1.1.6-5.el6
        oval oval:com.redhat.rhsa:tst:20130509017
      • comment libibverbs-utils is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509018
    • AND
      • comment libmlx4 is earlier than 0:1.0.4-1.el6
        oval oval:com.redhat.rhsa:tst:20130509019
      • comment libmlx4 is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509020
    • AND
      • comment libmlx4-static is earlier than 0:1.0.4-1.el6
        oval oval:com.redhat.rhsa:tst:20130509021
      • comment libmlx4-static is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509022
    • AND
      • comment libibumad is earlier than 0:1.3.8-1.el6
        oval oval:com.redhat.rhsa:tst:20130509023
      • comment libibumad is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509024
    • AND
      • comment libibumad-devel is earlier than 0:1.3.8-1.el6
        oval oval:com.redhat.rhsa:tst:20130509025
      • comment libibumad-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509026
    • AND
      • comment libibumad-static is earlier than 0:1.3.8-1.el6
        oval oval:com.redhat.rhsa:tst:20130509027
      • comment libibumad-static is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509028
    • AND
      • comment libibmad is earlier than 0:1.3.9-1.el6
        oval oval:com.redhat.rhsa:tst:20130509029
      • comment libibmad is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509030
    • AND
      • comment libibmad-devel is earlier than 0:1.3.9-1.el6
        oval oval:com.redhat.rhsa:tst:20130509031
      • comment libibmad-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509032
    • AND
      • comment libibmad-static is earlier than 0:1.3.9-1.el6
        oval oval:com.redhat.rhsa:tst:20130509033
      • comment libibmad-static is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509034
    • AND
      • comment opensm is earlier than 0:3.3.15-1.el6
        oval oval:com.redhat.rhsa:tst:20130509035
      • comment opensm is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509036
    • AND
      • comment opensm-devel is earlier than 0:3.3.15-1.el6
        oval oval:com.redhat.rhsa:tst:20130509039
      • comment opensm-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509040
    • AND
      • comment opensm-libs is earlier than 0:3.3.15-1.el6
        oval oval:com.redhat.rhsa:tst:20130509041
      • comment opensm-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509042
    • 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:20130509043
      • comment ibutils is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509044
    • AND
      • comment ibutils-devel is earlier than 0:1.5.7-7.el6
        oval oval:com.redhat.rhsa:tst:20130509047
      • comment ibutils-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509048
    • AND
      • comment ibutils-libs is earlier than 0:1.5.7-7.el6
        oval oval:com.redhat.rhsa:tst:20130509045
      • comment ibutils-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509046
    • AND
      • comment ibsim is earlier than 0:0.5-7.el6
        oval oval:com.redhat.rhsa:tst:20130509049
      • comment ibsim is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509050
    • AND
      • comment ibacm is earlier than 0:1.0.8-0.git7a3adb7.el6
        oval oval:com.redhat.rhsa:tst:20130509051
      • comment ibacm is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509052
    • AND
      • comment ibacm-devel is earlier than 0:1.0.8-0.git7a3adb7.el6
        oval oval:com.redhat.rhsa:tst:20130509053
      • comment ibacm-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509054
    • AND
      • comment infiniband-diags is earlier than 0:1.5.12-5.el6
        oval oval:com.redhat.rhsa:tst:20130509055
      • comment infiniband-diags is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509056
    • AND
      • comment infiniband-diags-devel is earlier than 0:1.5.12-5.el6
        oval oval:com.redhat.rhsa:tst:20130509057
      • comment infiniband-diags-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509058
    • AND
      • comment infiniband-diags-devel-static is earlier than 0:1.5.12-5.el6
        oval oval:com.redhat.rhsa:tst:20130509059
      • comment infiniband-diags-devel-static is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509060
    • AND
      • comment librdmacm is earlier than 0:1.0.17-0.git4b5c1aa.el6
        oval oval:com.redhat.rhsa:tst:20130509061
      • comment librdmacm is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509062
    • AND
      • comment librdmacm-devel is earlier than 0:1.0.17-0.git4b5c1aa.el6
        oval oval:com.redhat.rhsa:tst:20130509065
      • comment librdmacm-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509066
    • AND
      • comment librdmacm-static is earlier than 0:1.0.17-0.git4b5c1aa.el6
        oval oval:com.redhat.rhsa:tst:20130509063
      • comment librdmacm-static is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509064
    • AND
      • comment librdmacm-utils is earlier than 0:1.0.17-0.git4b5c1aa.el6
        oval oval:com.redhat.rhsa:tst:20130509067
      • comment librdmacm-utils is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130509068
rhsa
id RHSA-2013:0509
released 2013-02-21
severity Low
title RHSA-2013:0509: rdma security, bug fix and enhancement update (Low)
rpms
  • infinipath-psm-0:3.0.1-115.1015_open.1.el6
  • infinipath-psm-devel-0:3.0.1-115.1015_open.1.el6
  • rdma-0:3.6-1.el6
  • libibverbs-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-static-0:1.0.4-1.el6
  • libibumad-0:1.3.8-1.el6
  • libibumad-devel-0:1.3.8-1.el6
  • libibumad-static-0:1.3.8-1.el6
  • libibmad-0:1.3.9-1.el6
  • libibmad-devel-0:1.3.9-1.el6
  • libibmad-static-0:1.3.9-1.el6
  • opensm-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
  • ibutils-0:1.5.7-7.el6
  • ibutils-devel-0:1.5.7-7.el6
  • ibutils-libs-0:1.5.7-7.el6
  • ibsim-0:0.5-7.el6
  • ibacm-0:1.0.8-0.git7a3adb7.el6
  • ibacm-devel-0:1.0.8-0.git7a3adb7.el6
  • infiniband-diags-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
  • librdmacm-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
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
Back to Top