Apport Symlink ~/.apport-ignore.xml race condition

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.9$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in Apport. This impacts an unknown function of the file ~/.apport-ignore.xml of the component Symlink Handler. This manipulation causes race condition. This vulnerability appears as CVE-2019-7307. The attack requires local access. In addition, an exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Apport. It has been declared as problematic. Affected by this vulnerability is some unknown functionality of the file ~/.apport-ignore.xml of the component Symlink Handler. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

The weakness was presented 08/29/2019. This vulnerability is known as CVE-2019-7307 since 02/01/2019. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

It is possible to download the exploit at packetstormsecurity.com. It is declared as proof-of-concept. By approaching the search of inurl:~/.apport-ignore.xml it is possible to find vulnerable targets with Google Hacking.

Upgrading to version 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, 2.20.9-0ubuntu7.7, 2.20.10-0ubuntu27.1 or 2.20.11-0ubuntu5 eliminates this vulnerability.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.0
VulDB Meta Temp Score: 5.9

VulDB Base Score: 4.5
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.0
NVD Vector: 🔍

CNA Base Score: 6.5
CNA Vector (Canonical Ltd.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Apport 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

Timelineinfo

02/01/2019 🔍
08/29/2019 +209 days 🔍
08/29/2019 +0 days 🔍
06/18/2024 +1755 days 🔍

Sourcesinfo

Advisory: 172858
Status: Not defined

CVE: CVE-2019-7307 (🔍)
GCVE (CVE): GCVE-0-2019-7307
GCVE (VulDB): GCVE-100-141073
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 08/29/2019 20:09
Updated: 06/18/2024 23:05
Changes: 08/29/2019 20:09 (36), 08/09/2020 15:01 (17), 12/07/2023 18:46 (5), 12/07/2023 18:54 (12), 06/18/2024 23:05 (21)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!