ID CVE-2016-7545
Summary SELinux policycoreutils allows local users to execute arbitrary commands outside of the sandbox via a crafted TIOCSTI ioctl call.
References
Vulnerable Configurations
  • cpe:2.3:a:selinux_project:selinux:-:*:*:*:*:*:*:*
    cpe:2.3:a:selinux_project:selinux:-:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*
  • 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_desktop:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.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_server:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server:7.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_workstation:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
CVSS
Base: 7.2 (as of 05-01-2018 - 02:31)
Impact:
Exploitability:
CWE CWE-284
CAPEC
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Signature Spoofing by Key Theft
    An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:L/Au:N/C:C/I:C/A:C
redhat via4
advisories
  • bugzilla
    id 1378577
    title CVE-2016-7545 policycoreutils: SELinux sandbox escape via TIOCSTI ioctl
    oval
    OR
    • 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 policycoreutils is earlier than 0:2.0.83-30.1.el6_8
            oval oval:com.redhat.rhsa:tst:20162702013
          • comment policycoreutils is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414016
        • AND
          • comment policycoreutils-gui is earlier than 0:2.0.83-30.1.el6_8
            oval oval:com.redhat.rhsa:tst:20162702007
          • comment policycoreutils-gui is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414024
        • AND
          • comment policycoreutils-newrole is earlier than 0:2.0.83-30.1.el6_8
            oval oval:com.redhat.rhsa:tst:20162702009
          • comment policycoreutils-newrole is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414018
        • AND
          • comment policycoreutils-python is earlier than 0:2.0.83-30.1.el6_8
            oval oval:com.redhat.rhsa:tst:20162702005
          • comment policycoreutils-python is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414022
        • AND
          • comment policycoreutils-sandbox is earlier than 0:2.0.83-30.1.el6_8
            oval oval:com.redhat.rhsa:tst:20162702011
          • comment policycoreutils-sandbox is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414020
    • AND
      • OR
        • comment Red Hat Enterprise Linux 7 Client is installed
          oval oval:com.redhat.rhba:tst:20150364001
        • comment Red Hat Enterprise Linux 7 Server is installed
          oval oval:com.redhat.rhba:tst:20150364002
        • comment Red Hat Enterprise Linux 7 Workstation is installed
          oval oval:com.redhat.rhba:tst:20150364003
        • comment Red Hat Enterprise Linux 7 ComputeNode is installed
          oval oval:com.redhat.rhba:tst:20150364004
      • OR
        • AND
          • comment policycoreutils is earlier than 0:2.5-9.el7
            oval oval:com.redhat.rhsa:tst:20162702019
          • comment policycoreutils is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414016
        • AND
          • comment policycoreutils-devel is earlier than 0:2.5-9.el7
            oval oval:com.redhat.rhsa:tst:20162702023
          • comment policycoreutils-devel is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20162702024
        • AND
          • comment policycoreutils-gui is earlier than 0:2.5-9.el7
            oval oval:com.redhat.rhsa:tst:20162702021
          • comment policycoreutils-gui is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414024
        • AND
          • comment policycoreutils-newrole is earlier than 0:2.5-9.el7
            oval oval:com.redhat.rhsa:tst:20162702022
          • comment policycoreutils-newrole is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414018
        • AND
          • comment policycoreutils-python is earlier than 0:2.5-9.el7
            oval oval:com.redhat.rhsa:tst:20162702025
          • comment policycoreutils-python is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414022
        • AND
          • comment policycoreutils-restorecond is earlier than 0:2.5-9.el7
            oval oval:com.redhat.rhsa:tst:20162702026
          • comment policycoreutils-restorecond is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20162702027
        • AND
          • comment policycoreutils-sandbox is earlier than 0:2.5-9.el7
            oval oval:com.redhat.rhsa:tst:20162702020
          • comment policycoreutils-sandbox is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20110414020
    rhsa
    id RHSA-2016:2702
    released 2016-11-14
    severity Important
    title RHSA-2016:2702: policycoreutils security update (Important)
  • rhsa
    id RHSA-2017:0535
  • rhsa
    id RHSA-2017:0536
rpms
  • policycoreutils-0:2.0.83-30.1.el6_8
  • policycoreutils-gui-0:2.0.83-30.1.el6_8
  • policycoreutils-newrole-0:2.0.83-30.1.el6_8
  • policycoreutils-python-0:2.0.83-30.1.el6_8
  • policycoreutils-sandbox-0:2.0.83-30.1.el6_8
  • policycoreutils-0:2.5-9.el7
  • policycoreutils-devel-0:2.5-9.el7
  • policycoreutils-gui-0:2.5-9.el7
  • policycoreutils-newrole-0:2.5-9.el7
  • policycoreutils-python-0:2.5-9.el7
  • policycoreutils-restorecond-0:2.5-9.el7
  • policycoreutils-sandbox-0:2.5-9.el7
refmap via4
bid 93156
confirm https://github.com/SELinuxProject/selinux/commit/acca96a135a4d2a028ba9b636886af99c0915379
fedora FEDORA-2016-b7e8e980ef
mlist
  • [oss-security] 20160925 CVE-2016-7545 -- SELinux sandbox escape
  • [selinux] 20160923 [PATCH 2/2] sandbox: create a new session for sandboxed processes
sectrack 1037283
Last major update 05-01-2018 - 02:31
Published 19-01-2017 - 20:59
Back to Top