Amazon Linux AMI : postgresql8 (ALAS-2012-94)

medium Nessus Plugin ID 69701

Synopsis

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

Description

A flaw was found in the way the crypt() password hashing function from the optional PostgreSQL pgcrypto contrib module performed password transformation when used with the DES algorithm. If the password string to be hashed contained the 0x80 byte value, the remainder of the string was ignored when calculating the hash, significantly reducing the password strength. This made brute-force guessing more efficient as the whole password was not required to gain access to protected resources. (CVE-2012-2143)

Note: With this update, the rest of the string is properly included in the DES hash; therefore, any previously stored password values that are affected by this issue will no longer match. In such cases, it will be necessary for those stored password hashes to be updated.

A denial of service flaw was found in the way the PostgreSQL server performed a user privileges check when applying SECURITY DEFINER or SET attributes to a procedural language's (such as PL/Perl or PL/Python) call handler function. A non-superuser database owner could use this flaw to cause the PostgreSQL server to crash due to infinite recursion. (CVE-2012-2655)

Solution

Run 'yum update postgresql8' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2012-94.html

Plugin Details

Severity: Medium

ID: 69701

File Name: ala_ALAS-2012-94.nasl

Version: 1.5

Type: local

Agent: unix

Published: 9/4/2013

Updated: 4/18/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:postgresql8-devel, p-cpe:/a:amazon:linux:postgresql8-contrib, p-cpe:/a:amazon:linux:postgresql8, p-cpe:/a:amazon:linux:postgresql8-plperl, p-cpe:/a:amazon:linux:postgresql8-pltcl, p-cpe:/a:amazon:linux:postgresql8-plpython, p-cpe:/a:amazon:linux:postgresql8-server, p-cpe:/a:amazon:linux:postgresql8-test, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:postgresql8-libs, p-cpe:/a:amazon:linux:postgresql8-debuginfo, p-cpe:/a:amazon:linux:postgresql8-docs

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

Patch Publication Date: 7/5/2012

Reference Information

CVE: CVE-2012-2143, CVE-2012-2655

ALAS: 2012-94

RHSA: 2012:1037