SB2018051122 - Amazon Linux AMI update for patch



SB2018051122 - Amazon Linux AMI update for patch

Published: May 11, 2018

Security Bulletin ID SB2018051122
CSH Severity
High
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Improper input validation (CVE-ID: CVE-2018-1000156)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the EDITOR_PROGRAM invocation due to improper input validation. A remote attacker can send a specially crafted patch file and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.


2) Improper input validation (CVE-ID: CVE-2015-1418)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists in the do_ed_script function in pch.c due to insufficient sanitization of the input patch stream. A remote attacker can execute arbitrary commands via a specially crafted patch file, because a '!' character can be passed to the ed program.


Remediation

Install update from vendor's website.