Amazon Linux AMI : 389-ds-base (ALAS-2018-980)

high Nessus Plugin ID 108844

Synopsis

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

Description

Authentication bypass due to lack of size check in slapi_ct_memcmp function in ch_malloc.c :

It was found that 389-ds-base did not always handle internal hash comparison operations correctly during the authentication process. A remote, unauthenticated attacker could potentially use this flaw to bypass the authentication process under very rare and specific circumstances. (CVE-2017-15135)

Remote Denial of Service (DoS) via search filters in SetUnicodeStringFromUTF_8 in collate.c :

An out-of-bounds memory read flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service.
(CVE-2018-1054 )

Solution

Run 'yum update 389-ds-base' to update your system.

See Also

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

Plugin Details

Severity: High

ID: 108844

File Name: ala_ALAS-2018-980.nasl

Version: 1.2

Type: local

Agent: unix

Published: 4/6/2018

Updated: 4/18/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS v3

Risk Factor: High

Base Score: 8.1

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:389-ds-base, p-cpe:/a:amazon:linux:389-ds-base-debuginfo, p-cpe:/a:amazon:linux:389-ds-base-devel, p-cpe:/a:amazon:linux:389-ds-base-libs, p-cpe:/a:amazon:linux:389-ds-base-snmp, cpe:/o:amazon:linux

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

Patch Publication Date: 4/5/2018

Reference Information

CVE: CVE-2017-15135, CVE-2018-1054

ALAS: 2018-980