Apport contains a TOCTTOU vulnerability when reading the users ~/.apport-ignore.xml
CVE-2019-7307

6.5MEDIUM

Key Information:

Vendor

Ubuntu

Status
Vendor
CVE Published:
29 August 2019

What is CVE-2019-7307?

Apport before versions 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, 2.20.9-0ubuntu7.7, 2.20.10-0ubuntu27.1, 2.20.11-0ubuntu5 contained a TOCTTOU vulnerability when reading the users ~/.apport-ignore.xml file, which allows a local attacker to replace this file with a symlink to any other file on the system and so cause Apport to include the contents of this other file in the resulting crash report. The crash report could then be read by that user either by causing it to be uploaded and reported to Launchpad, or by leveraging some other vulnerability to read the resulting crash report, and so allow the user to read arbitrary files on the system.

Affected Version(s)

apport before 2.14.1-0ubuntu3.29+esm1

apport before 2.20.1-0ubuntu2.19

apport before 2.20.9-0ubuntu7.7

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Kevin Backhouse of Semmle Security Research Team
.