Amazon Linux AMI : mailx (ALAS-2015-467)

high Nessus Plugin ID 80418

Synopsis

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

Description

A flaw was found in the way mailx handled the parsing of email addresses. A syntactically valid email address could allow a local attacker to cause mailx to execute arbitrary shell commands through shell meta-characters and the direct command execution functionality.
(CVE-2004-2771 , CVE-2014-7844)

Note: Applications using mailx to send email to addresses obtained from untrusted sources will still remain vulnerable to other attacks if they accept email addresses which start with '-' (so that they can be confused with mailx options). To counteract this issue, this update also introduces the '--' option, which will treat the remaining command line arguments as email addresses.

Solution

Run 'yum update mailx' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2015-467.html

Plugin Details

Severity: High

ID: 80418

File Name: ala_ALAS-2015-467.nasl

Version: 1.4

Type: local

Agent: unix

Published: 1/9/2015

Updated: 1/22/2020

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:mailx, p-cpe:/a:amazon:linux:mailx-debuginfo

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

Patch Publication Date: 1/8/2015

Vulnerability Publication Date: 12/24/2014

Reference Information

CVE: CVE-2004-2771, CVE-2014-7844

ALAS: 2015-467

RHSA: 2014:1999