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

high Nessus Plugin ID 109134

Synopsis

The remote Amazon Linux 2 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/AL2/ALAS-2018-980.html

Plugin Details

Severity: High

ID: 109134

File Name: al2_ALAS-2018-980.nasl

Version: 1.2

Type: local

Agent: unix

Published: 4/18/2018

Updated: 10/30/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2017-15135

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/21/2018

Reference Information

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

ALAS: 2018-980