Amazon Linux AMI : ant (ALAS-2018-1047)

high Nessus Plugin ID 111338

Synopsis

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

Description

It was discovered that Ant's unzip and untar targets permit the extraction of files outside the target directory. A crafted zip or tar file submitted to an Ant build could create or overwrite arbitrary files with the privileges of the user running Ant.(CVE-2018-10886)

Solution

Run 'yum update ant' to update your system.

See Also

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

Plugin Details

Severity: High

ID: 111338

File Name: ala_ALAS-2018-1047.nasl

Version: 1.2

Type: local

Agent: unix

Published: 7/26/2018

Updated: 9/3/2024

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:ant-antlr, p-cpe:/a:amazon:linux:ant-javadoc, p-cpe:/a:amazon:linux:ant-javamail, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:ant, p-cpe:/a:amazon:linux:ant-apache-bsf, p-cpe:/a:amazon:linux:ant-apache-log4j, p-cpe:/a:amazon:linux:ant-apache-regexp, p-cpe:/a:amazon:linux:ant-apache-bcel, p-cpe:/a:amazon:linux:ant-jmf, p-cpe:/a:amazon:linux:ant-commons-net, p-cpe:/a:amazon:linux:ant-commons-logging, p-cpe:/a:amazon:linux:ant-scripts, p-cpe:/a:amazon:linux:ant-swing, p-cpe:/a:amazon:linux:ant-junit, p-cpe:/a:amazon:linux:ant-testutil, p-cpe:/a:amazon:linux:ant-apache-oro, p-cpe:/a:amazon:linux:ant-apache-resolver, p-cpe:/a:amazon:linux:ant-apache-xalan2, p-cpe:/a:amazon:linux:ant-jsch, p-cpe:/a:amazon:linux:ant-manual, p-cpe:/a:amazon:linux:ant-jdepend

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/23/2018

Reference Information

CVE: CVE-2018-10886

ALAS: 2018-1047