Bug 1511396 (CVE-2017-16667)

Summary: CVE-2017-16667 backintime: Improper escaping/quoting of file paths
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: johannes.lips, projects.rg, rosset.filipe
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: backintime 1.1.24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-06 07:23:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1511397, 1511398    
Bug Blocks:    

Description Andrej Nemec 2017-11-09 09:55:50 UTC
backintime (aka Back in Time) before 1.1.24 did improper escaping/quoting of file paths used as arguments to the 'notify-send' command, leading to some parts of file paths being executed as shell commands within an os.system call in qt4/plugins/notifyplugin.py. This could allow an attacker to craft an unreadable file with a specific name to run arbitrary shell commands.

Upstream issue:

https://github.com/bit-team/backintime/issues/834

Upstream patch:

https://github.com/bit-team/backintime/commit/cef81d0da93ff601252607df3db1a48f7f6f01b3

Comment 1 Andrej Nemec 2017-11-09 09:56:09 UTC
Created backintime tracking bugs for this issue:

Affects: epel-7 [bug 1511398]
Affects: fedora-all [bug 1511397]