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: 2015/01/09

Updated: 2020/01/22

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

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: p-cpe:/a:amazon:linux:mailx, p-cpe:/a:amazon:linux:mailx-debuginfo, cpe:/o:amazon:linux

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

Patch Publication Date: 2015/01/08

Vulnerability Publication Date: 2014/12/24

Reference Information

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

ALAS: 2015-467

RHSA: 2014:1999