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

medium Nessus Plugin ID 69701
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 4

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: cpe:2.3:o:amazon:linux:*:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-contrib:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-docs:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-libs:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-plperl:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-plpython:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-pltcl:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-server:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:postgresql8-test:*:*:*:*:*:*:*

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

RHSA: 2012:1037

ALAS: 2012-94