Amazon Linux 2 : zsh (ALAS-2018-1089)

critical Nessus Plugin ID 118044

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.(CVE-2018-0502)

It was discovered that zsh does not properly validate the shebang of input files and it truncates it to the first 64 bytes. A local attacker may use this flaw to make zsh execute a different binary than what is expected, named with a substring of the shebang one.(CVE-2018-13259)

Solution

Run 'yum update zsh' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2018-1089.html

Plugin Details

Severity: Critical

ID: 118044

File Name: al2_ALAS-2018-1089.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/11/2018

Updated: 2/10/2022

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-13259

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:zsh, p-cpe:/a:amazon:linux:zsh-debuginfo, p-cpe:/a:amazon:linux:zsh-html, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/8/2018

Vulnerability Publication Date: 9/5/2018

Reference Information

CVE: CVE-2018-0502, CVE-2018-13259

ALAS: 2018-1089