Amazon Linux 2 : velocity (ALAS-2021-1690)

high Nessus Plugin ID 151798

Synopsis

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

Description

The version of velocity installed on the remote host is prior to 1.7-10.2. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2021-1690 advisory.

- An attacker that is able to modify Velocity templates may execute arbitrary Java code or run arbitrary system commands with the same privileges as the account running the Servlet container. This applies to applications that allow untrusted users to upload/modify velocity templates running Apache Velocity Engine versions up to 2.2. (CVE-2020-13936)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update velocity' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2021-1690.html

https://access.redhat.com/security/cve/CVE-2020-13936

Plugin Details

Severity: High

ID: 151798

File Name: al2_ALAS-2021-1690.nasl

Version: 1.3

Type: local

Agent: unix

Published: 7/16/2021

Updated: 12/7/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

CVSS Score Source: CVE-2020-13936

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:velocity, p-cpe:/a:amazon:linux:velocity-demo, p-cpe:/a:amazon:linux:velocity-javadoc, p-cpe:/a:amazon:linux:velocity-manual, cpe:/o:amazon:linux:2

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/14/2021

Vulnerability Publication Date: 3/10/2021

Reference Information

CVE: CVE-2020-13936

ALAS: 2021-1690