7.8
HIGH CVSS 3.0
CVE-2018-7738
Ubuntu umount Command Injection Vulnerability
Description

In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command (within Bash) by a different user, as demonstrated by logging in as root and entering umount followed by a tab character for autocompletion.

INFO

Published Date :

March 7, 2018, 2:29 a.m.

Last Modified :

Dec. 13, 2024, 2:15 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2018-7738 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Kernel util-linux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 HIGH [email protected]
Solution
This vulnerability requires updating the util-linux package to address the command injection issue.
  • Update the util-linux packages to the latest version.
  • Use your system's package manager for updates.
Public PoC/Exploit Available at Github

CVE-2018-7738 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-7738.

URL Resource
http://www.securityfocus.com/bid/103367 Third Party Advisory VDB Entry
https://bugs.debian.org/892179 Patch Third Party Advisory
https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55 Patch Third Party Advisory
https://github.com/karelzak/util-linux/issues/539 Issue Tracking Third Party Advisory
https://usn.ubuntu.com/4512-1/
https://www.debian.org/security/2018/dsa-4134 Third Party Advisory
http://www.securityfocus.com/bid/103367 Third Party Advisory VDB Entry
https://bugs.debian.org/892179 Patch Third Party Advisory
https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55 Patch Third Party Advisory
https://github.com/karelzak/util-linux/issues/539 Issue Tracking Third Party Advisory
https://security.netapp.com/advisory/ntap-20241213-0002/
https://usn.ubuntu.com/4512-1/
https://www.debian.org/security/2018/dsa-4134 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-7738 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-7738 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 11, 2023, 1:21 p.m. This repo has been linked 1044 different CVEs too.

None

Updated: 5 months, 1 week ago
14 stars 4 fork 4 watcher
Born at : May 25, 2020, 7:51 a.m. This repo has been linked 1029 different CVEs too.

None

Updated: 5 years, 6 months ago
1 stars 0 fork 0 watcher
Born at : July 17, 2018, 7:48 p.m. This repo has been linked 494 different CVEs too.

✍️ A curated list of CVE PoCs.

awesome cve poc

Updated: 1 month ago
3424 stars 685 fork 685 watcher
Born at : Feb. 2, 2017, 6:43 a.m. This repo has been linked 1044 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-7738 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-7738 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Dec. 13, 2024

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20241213-0002/
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/103367
    Added Reference https://bugs.debian.org/892179
    Added Reference https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55
    Added Reference https://github.com/karelzak/util-linux/issues/539
    Added Reference https://usn.ubuntu.com/4512-1/
    Added Reference https://www.debian.org/security/2018/dsa-4134
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Sep. 25, 2020

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4512-1/ [No Types Assigned]
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 NVD-CWE-noinfo
  • CPE Deprecation Remap by [email protected]

    Jan. 04, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:util-linux_project:util-linux:*:*:*:*:*:*:*:* versions from (including) 2.31.1 OR *cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:* versions from (including) 2.31
  • Initial Analysis by [email protected]

    Mar. 29, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/103367 No Types Assigned http://www.securityfocus.com/bid/103367 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugs.debian.org/892179 No Types Assigned https://bugs.debian.org/892179 Patch, Third Party Advisory
    Changed Reference Type https://github.com/karelzak/util-linux/issues/539 No Types Assigned https://github.com/karelzak/util-linux/issues/539 Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55 No Types Assigned https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55 Patch, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4134 No Types Assigned https://www.debian.org/security/2018/dsa-4134 Third Party Advisory
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:a:util-linux_project:util-linux:*:*:*:*:*:*:*:* versions up to (including) 2.31.1
  • CVE Modified by [email protected]

    Mar. 14, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/103367 [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 12, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4134 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.2
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} -0.00%

score

0.16922

percentile