zsh up to 5.4.2 utils.c checkmailpath memory corruption

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.
6.4$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in zsh up to 5.4.2. This impacts the function checkmailpath of the file utils.c. Such manipulation leads to memory corruption. This vulnerability is traded as CVE-2018-1100. An attack has to be approached locally. There is no exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in zsh up to 5.4.2 and classified as problematic. Affected by this issue is the function checkmailpath of the file utils.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:

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.

The bug was discovered 04/03/2018. The weakness was shared 04/11/2018 with Red Hat as Bug 1563395 as confirmed bug report (Bugzilla). The advisory is available at bugzilla.redhat.com. This vulnerability is handled as CVE-2018-1100 since 12/04/2017. Local access is required to approach this attack. The requirement for exploitation is a simple authentication. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 8 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110957 (openSUSE Security Update : zsh (openSUSE-2018-699)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 157839 (Oracle Enterprise Linux Security Update for zsh (ELSA-2018-3073)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (110957) and SecurityFocus (BID 103359†). The entries VDB-113890, VDB-113891, VDB-113902 and VDB-113903 are related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 110957
Nessus Name: openSUSE Security Update : zsh (openSUSE-2018-699)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 861451
OpenVAS Name: Fedora Update for zsh FEDORA-2018-ac1d9c2777
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: sourceforge.net

Timelineinfo

12/04/2017 🔍
03/09/2018 +95 days 🔍
04/03/2018 +25 days 🔍
04/11/2018 +7 days 🔍
04/11/2018 +0 days 🔍
04/12/2018 +1 days 🔍
07/05/2018 +84 days 🔍
07/09/2018 +4 days 🔍
02/27/2023 +1694 days 🔍

Sourcesinfo

Advisory: Bug 1563395
Researcher: Richard Maciel Costa
Organization: Red Hat
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-1100 (🔍)
GCVE (CVE): GCVE-0-2018-1100
GCVE (VulDB): GCVE-100-116114
SecurityFocus: 103359 - Zsh 'exec.c:hashcmd()' Function Local Denial of Service Vulnerability

See also: 🔍

Entryinfo

Created: 04/12/2018 09:09
Updated: 02/27/2023 14:58
Changes: 04/12/2018 09:09 (76), 01/24/2020 15:23 (7), 02/09/2021 18:18 (2), 02/27/2023 14:58 (3)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!