ID CVE-2017-7572
Summary The _checkPolkitPrivilege function in serviceHelper.py in Back In Time (aka backintime) 1.1.18 and earlier uses a deprecated polkit authorization method (unix-process) that is subject to a race condition (time of check, time of use). With this authorization method, the owner of a process requesting a polkit operation is checked by polkitd via /proc/<pid>/status, by which time the requesting process may have been replaced by a different process with the same PID that has different privileges then the original requester.
References
Vulnerable Configurations
  • cpe:2.3:a:backintime_project:backintime:0.7.4:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.7.4:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.8.8:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.8.8:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.8.12:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.8.12:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.8.14:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.8.14:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.8.16:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.8.16:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.8.18:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.8.18:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.8.20:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.8.20:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.4:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.4:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.6:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.6:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.8:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.8:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.10:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.10:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.12:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.12:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.14:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.14:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.16:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.16:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.18:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.18:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.20:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.20:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.22:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.22:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.24:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.24:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:0.9.26:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:0.9.26:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.16:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.18:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.20:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.20:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.24:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.24:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.28:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.28:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.30:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.30:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.36:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.36:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.38:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.38:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.0.40:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.0.40:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.16:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.16:*:*:*:*:*:*:*
  • cpe:2.3:a:backintime_project:backintime:1.1.18:*:*:*:*:*:*:*
    cpe:2.3:a:backintime_project:backintime:1.1.18:*:*:*:*:*:*:*
CVSS
Base: 9.3 (as of 12-04-2017 - 20: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
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:N/AC:M/Au:N/C:C/I:C/A:C
refmap via4
misc https://github.com/bit-team/backintime/commit/7f208dc547f569b689c888103e3b593a48cd1869
Last major update 12-04-2017 - 20:48
Published 06-04-2017 - 18:59
Back to Top