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

Medium Nessus Plugin ID 69701

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 4

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: 2013/09/04

Updated: 2018/04/18

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 4

CVSS v2.0

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

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

Patch Publication Date: 2012/07/05

Reference Information

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

ALAS: 2012-94

RHSA: 2012:1037