ID CVE-2015-7529
Summary sosreport in SoS 3.x allows local users to obtain sensitive information from sosreport files or gain privileges via a symlink attack on an archive file in a temporary directory, as demonstrated by sosreport-$hostname-$date.tar in /tmp/sosreport-$hostname-$date.
References
Vulnerable Configurations
  • cpe:2.3:a:sos_project:sos:3.0:*:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.1:*:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.2:-:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.2:-:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.2:alpha1:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.2:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.2:beta1:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.2:beta1:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.3:*:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.4:-:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.4:-:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.4:beta:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.4:beta:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.5:-:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.5:-:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.5:beta1:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.5:beta1:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.6:*:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.6:*:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.7:*:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.7:*:*:*:*:*:*:*
  • cpe:2.3:a:sos_project:sos:3.8:*:*:*:*:*:*:*
    cpe:2.3:a:sos_project:sos:3.8:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
  • 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_workstation:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:6.7:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:6.7:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.7:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.7:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:*
CVSS
Base: 4.6 (as of 13-02-2023 - 00:54)
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 LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • bugzilla
    id 1282542
    title CVE-2015-7529 sos: Usage of predictable temporary files allows privilege escalation
    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 sos is earlier than 0:3.2-28.el6_7.2
        oval oval:com.redhat.rhsa:tst:20160152001
      • comment sos is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20111536002
    rhsa
    id RHSA-2016:0152
    released 2016-02-09
    severity Moderate
    title RHSA-2016:0152: sos security and bug fix update (Moderate)
  • bugzilla
    id 1282542
    title CVE-2015-7529 sos: Usage of predictable temporary files allows privilege escalation
    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 sos is earlier than 0:3.2-35.el7_2.3
        oval oval:com.redhat.rhsa:tst:20160188001
      • comment sos is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20111536002
    rhsa
    id RHSA-2016:0188
    released 2016-02-16
    severity Moderate
    title RHSA-2016:0188: sos security and bug fix update (Moderate)
rpms
  • sos-0:3.2-28.el6_7.2
  • sos-0:3.2-35.el7_2.3
refmap via4
bid 83162
confirm
misc
ubuntu USN-2845-1
Last major update 13-02-2023 - 00:54
Published 06-11-2017 - 17:29
Last modified 13-02-2023 - 00:54
Back to Top