ID CVE-2013-4288
Summary Race condition in PolicyKit (aka polkit) allows local users to bypass intended PolicyKit restrictions and gain privileges by starting a setuid or pkexec process before the authorization check is performed, related to (1) the polkit_unix_process_new API function, (2) the dbus API, or (3) the --process (unix-process) option for authorization to pkcheck.
References
Vulnerable Configurations
  • cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:*
    cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:*
    cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:*
  • cpe:2.3:a:polkit_project:polkit:-:*:*:*:*:*:*:*
    cpe:2.3:a:polkit_project:polkit:-:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:13.04:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:13.04:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
CVSS
Base: 7.2 (as of 22-04-2019 - 17:48)
Impact:
Exploitability:
CWE CWE-362
CAPEC
  • Leveraging Race Conditions
    This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.
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 1002375
    title CVE-2013-4288 polkit: unix-process subject for authorization is racy
    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 polkit is earlier than 0:0.96-5.el6_4
          oval oval:com.redhat.rhsa:tst:20131270005
        • comment polkit is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110455006
      • AND
        • comment polkit-desktop-policy is earlier than 0:0.96-5.el6_4
          oval oval:com.redhat.rhsa:tst:20131270009
        • comment polkit-desktop-policy is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110455012
      • AND
        • comment polkit-devel is earlier than 0:0.96-5.el6_4
          oval oval:com.redhat.rhsa:tst:20131270007
        • comment polkit-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110455008
      • AND
        • comment polkit-docs is earlier than 0:0.96-5.el6_4
          oval oval:com.redhat.rhsa:tst:20131270011
        • comment polkit-docs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110455010
    rhsa
    id RHSA-2013:1270
    released 2013-09-19
    severity Important
    title RHSA-2013:1270: polkit security update (Important)
  • rhsa
    id RHSA-2013:1460
rpms
  • polkit-0:0.96-5.el6_4
  • polkit-desktop-policy-0:0.96-5.el6_4
  • polkit-devel-0:0.96-5.el6_4
  • polkit-docs-0:0.96-5.el6_4
refmap via4
misc http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1002375
mlist
  • [oss-security] 20130918 Fwd: [vs-plain] polkit races
  • [oss-security] 20130918 Re: Fwd: [vs-plain] polkit races
suse
  • openSUSE-SU-2013:1527
  • openSUSE-SU-2013:1528
  • openSUSE-SU-2013:1617
  • openSUSE-SU-2013:1620
ubuntu USN-1953-1
Last major update 22-04-2019 - 17:48
Published 03-10-2013 - 21:55
Back to Top