ID CVE-2014-4039
Summary ppc64-diag 2.6.1 uses 0775 permissions for /tmp/diagSEsnap and does not properly restrict permissions for /tmp/diagSEsnap/snapH.tar.gz, which allows local users to obtain sensitive information by reading files in this archive, as demonstrated by /var/log/messages and /etc/yaboot.conf.
References
Vulnerable Configurations
  • cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:ppc64-diag_project:ppc64-diag:2.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:ppc64-diag_project:ppc64-diag:2.6.1:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:linux_enterprise_server:11:sp3:*:*:*:*:*:*
    cpe:2.3:o:suse:linux_enterprise_server:11:sp3:*:*:*:*:*:*
CVSS
Base: 2.1 (as of 07-01-2017 - 03:00)
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
PARTIAL NONE NONE
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:N/A:N
redhat via4
advisories
  • bugzilla
    id 1109371
    title CVE-2014-4038 CVE-2014-4039 ppc64-diag: multiple temporary file races
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 7 is installed
        oval oval:com.redhat.rhba:tst:20150364027
      • comment ppc64-diag is earlier than 0:2.6.7-6.el7
        oval oval:com.redhat.rhsa:tst:20150383001
      • comment ppc64-diag is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20150383002
    rhsa
    id RHSA-2015:0383
    released 2015-03-05
    severity Moderate
    title RHSA-2015:0383: ppc64-diag security, bug fix, and enhancement update (Moderate)
  • bugzilla
    id 1131501
    title Mislabeled file '/var/lock/subsys/rtas_errd' found
    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
      • comment ppc64-diag is earlier than 0:2.6.7-4.el6
        oval oval:com.redhat.rhsa:tst:20151320001
      • comment ppc64-diag is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20150383002
    rhsa
    id RHSA-2015:1320
    released 2015-07-20
    severity Moderate
    title RHSA-2015:1320: ppc64-diag security, bug fix and enhancement update (Moderate)
rpms
  • ppc64-diag-0:2.6.7-6.el7
  • ppc64-diag-debuginfo-0:2.6.7-6.el7
  • ppc64-diag-0:2.6.7-4.el6
  • ppc64-diag-debuginfo-0:2.6.7-4.el6
refmap via4
bid 68086
confirm https://bugzilla.redhat.com/show_bug.cgi?id=1109371
mlist [oss-security] 20140617 Re: CVE request: multiple /tmp races in ppc64-diag
secunia 60616
suse SUSE-SU-2014:0928
Last major update 07-01-2017 - 03:00
Published 17-06-2014 - 15:55
Last modified 07-01-2017 - 03:00
Back to Top