CVE-2020-10174
Timeshift Project Timeshift vulnerability
init_tmp in TeeJee.FileSystem.vala in Timeshift before 20.03 unsafely reuses a preexisting temporary directory in the predictable location /tmp/timeshift. It follows symlinks in this location or uses directories owned by unprivileged users. Because Timeshift also executes scripts under this location, an attacker can attempt to win a race condition to replace scripts created by Timeshift with attacker-controlled scripts. Upon success, an attacker-controlled script is executed with full root privileges. This logic is practically always triggered when Timeshift runs regardless of the command-line arguments used.
Affected products
Timeshift, Fedora, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Timeshift Project Timeshift runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/teejee2008/timeshift/commit/335b3d5398079278b8f7094c77bfd148b315b462 · Patch
- www.openwall.com/lists/oss-security/2020/03/06/3 · Third Party Advisory
- bugzilla.suse.com/show_bug.cgi?id=1165802 · Third Party Advisory
- github.com/teejee2008/timeshift/releases/tag/v20.03 · Third Party Advisory
- usn.ubuntu.com/4312-1/ · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T
- nvd.nist.gov/vuln/detail/CVE-2020-10174
- cve.org/CVERecord?id=CVE-2020-10174
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.