CVE-2018-1100
Z Shell Local Buffer Overflow Vulnerability
Description
zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.
INFO
Published Date :
April 11, 2018, 7:29 p.m.
Last Modified :
Nov. 7, 2023, 2:55 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2018-1100 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2018-1100
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.
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-1100
.
URL | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2018:1932 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:3073 | Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1563395 | Issue Tracking Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html | |
https://security.gentoo.org/glsa/201805-10 | Third Party Advisory |
https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/ | Patch |
https://usn.ubuntu.com/3764-1/ | Third Party Advisory |
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).
Investigating some vulnarabilities
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-1100
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-1100
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Removed CWE Red Hat, Inc. CWE-121 -
CVE Modified by [email protected]
Feb. 13, 2023
Action Type Old Value New Value Changed Description A buffer overflow flaw was found in the zsh shell check path functionality. A local, unprivileged user can create a specially crafted message file, which, if used to set a custom "you have new mail" message, leads to code execution in the context of the user who receives the message. If the user affected is privileged, this leads to privilege escalation. zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user. Removed CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H Removed Reference https://access.redhat.com/security/cve/CVE-2018-1100 [No Types Assigned] Added CWE Red Hat, Inc. CWE-120 Added CWE Red Hat, Inc. CWE-121 -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed Description zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user. A buffer overflow flaw was found in the zsh shell check path functionality. A local, unprivileged user can create a specially crafted message file, which, if used to set a custom "you have new mail" message, leads to code execution in the context of the user who receives the message. If the user affected is privileged, this leads to privilege escalation. Added CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H Added Reference https://access.redhat.com/security/cve/CVE-2018-1100 [No Types Assigned] Removed CWE Red Hat, Inc. CWE-120 Removed CWE Red Hat, Inc. CWE-121 Removed CWE Reason CWE-121 / CWE from CNA not within 1003 View Removed CWE Reason CWE-120 / More specific CWE option available -
CVE Modified by [email protected]
Dec. 01, 2020
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html [No Types Assigned] -
Modified Analysis by [email protected]
Sep. 09, 2020
Action Type Old Value New Value Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Removed CWE NIST CWE-119 Added CWE NIST CWE-787 -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CWE Red Hat, Inc. CWE-120 Added CWE Red Hat, Inc. CWE-121 -
Modified Analysis by [email protected]
Mar. 08, 2019
Action Type Old Value New Value Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3073 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3073 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1932 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1932 Third Party Advisory Changed Reference Type https://security.gentoo.org/glsa/201805-10 No Types Assigned https://security.gentoo.org/glsa/201805-10 Third Party Advisory Changed Reference Type https://usn.ubuntu.com/3764-1/ No Types Assigned https://usn.ubuntu.com/3764-1/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 31, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:3073 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 21, 2018
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201805-10 [No Types Assigned] -
CVE Modified by [email protected]
Sep. 12, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3764-1/ [No Types Assigned] -
CVE Modified by [email protected]
Jun. 20, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:1932 [No Types Assigned] -
Initial Analysis by [email protected]
May. 18, 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 https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/ No Types Assigned https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/ Patch Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1563395 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1563395 Issue Tracking, Third Party Advisory Added CWE CWE-119 Added CPE Configuration OR *cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:* versions up to (including) 5.4.2
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-1100
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-1100
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.05635
percentile