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. 21, 2024, 3:59 a.m.

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.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
1 Canonical ubuntu_linux
1 Zsh zsh

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

Updated: 5 years, 10 months ago
1 stars 0 fork 0 watcher
Born at : Jan. 24, 2019, 11:45 a.m. This repo has been linked 2 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-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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1932
    Added Reference https://access.redhat.com/errata/RHSA-2018:3073
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1563395
    Added Reference https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
    Added Reference https://security.gentoo.org/glsa/201805-10
    Added Reference https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/
    Added Reference https://usn.ubuntu.com/3764-1/
  • 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
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.
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:

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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability