Amazon Linux AMI update for postgresql92



Risk High
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2014-0067
CVE-2014-8161
CVE-2015-0241
CVE-2015-0242
CVE-2015-0243
CVE-2015-0244
CWE-ID CWE-264
CWE-209
CWE-94
CWE-121
CWE-89
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 6 vulnerabilities.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU41879

Risk: Medium

CVSSv3.1: 5.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2014-0067

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The "make check" command for the test suites in PostgreSQL 9.3.3 and earlier does not properly invoke initdb to specify the authentication requirements for a database cluster to be used for the tests, which allows local users to gain privileges by leveraging access to this cluster.

Mitigation

Update the affected packages:

i686:
    postgresql92-test-9.2.10-1.49.amzn1.i686
    postgresql92-libs-9.2.10-1.49.amzn1.i686
    postgresql92-docs-9.2.10-1.49.amzn1.i686
    postgresql92-plperl-9.2.10-1.49.amzn1.i686
    postgresql92-debuginfo-9.2.10-1.49.amzn1.i686
    postgresql92-plpython-9.2.10-1.49.amzn1.i686
    postgresql92-devel-9.2.10-1.49.amzn1.i686
    postgresql92-server-9.2.10-1.49.amzn1.i686
    postgresql92-pltcl-9.2.10-1.49.amzn1.i686
    postgresql92-contrib-9.2.10-1.49.amzn1.i686
    postgresql92-server-compat-9.2.10-1.49.amzn1.i686
    postgresql92-9.2.10-1.49.amzn1.i686

src:
    postgresql92-9.2.10-1.49.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.10-1.49.amzn1.x86_64
    postgresql92-test-9.2.10-1.49.amzn1.x86_64
    postgresql92-devel-9.2.10-1.49.amzn1.x86_64
    postgresql92-docs-9.2.10-1.49.amzn1.x86_64
    postgresql92-pltcl-9.2.10-1.49.amzn1.x86_64
    postgresql92-9.2.10-1.49.amzn1.x86_64
    postgresql92-contrib-9.2.10-1.49.amzn1.x86_64
    postgresql92-debuginfo-9.2.10-1.49.amzn1.x86_64
    postgresql92-libs-9.2.10-1.49.amzn1.x86_64
    postgresql92-server-9.2.10-1.49.amzn1.x86_64
    postgresql92-plpython-9.2.10-1.49.amzn1.x86_64
    postgresql92-plperl-9.2.10-1.49.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2015-492.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Information Exposure Through an Error Message

EUVDB-ID: #VU30418

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2014-8161

CWE-ID: CWE-209 - Information Exposure Through an Error Message

Exploit availability: No

Description

The vulnerability allows a remote authenticated user to gain access to sensitive information.

PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 allows remote authenticated users to obtain sensitive column values by triggering constraint violation and then reading the error message.

Mitigation

Update the affected packages:

i686:
    postgresql92-test-9.2.10-1.49.amzn1.i686
    postgresql92-libs-9.2.10-1.49.amzn1.i686
    postgresql92-docs-9.2.10-1.49.amzn1.i686
    postgresql92-plperl-9.2.10-1.49.amzn1.i686
    postgresql92-debuginfo-9.2.10-1.49.amzn1.i686
    postgresql92-plpython-9.2.10-1.49.amzn1.i686
    postgresql92-devel-9.2.10-1.49.amzn1.i686
    postgresql92-server-9.2.10-1.49.amzn1.i686
    postgresql92-pltcl-9.2.10-1.49.amzn1.i686
    postgresql92-contrib-9.2.10-1.49.amzn1.i686
    postgresql92-server-compat-9.2.10-1.49.amzn1.i686
    postgresql92-9.2.10-1.49.amzn1.i686

src:
    postgresql92-9.2.10-1.49.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.10-1.49.amzn1.x86_64
    postgresql92-test-9.2.10-1.49.amzn1.x86_64
    postgresql92-devel-9.2.10-1.49.amzn1.x86_64
    postgresql92-docs-9.2.10-1.49.amzn1.x86_64
    postgresql92-pltcl-9.2.10-1.49.amzn1.x86_64
    postgresql92-9.2.10-1.49.amzn1.x86_64
    postgresql92-contrib-9.2.10-1.49.amzn1.x86_64
    postgresql92-debuginfo-9.2.10-1.49.amzn1.x86_64
    postgresql92-libs-9.2.10-1.49.amzn1.x86_64
    postgresql92-server-9.2.10-1.49.amzn1.x86_64
    postgresql92-plpython-9.2.10-1.49.amzn1.x86_64
    postgresql92-plperl-9.2.10-1.49.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2015-492.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Code Injection

EUVDB-ID: #VU30420

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-0241

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in a (1) large number of digits when processing a numeric formatting template, which triggers a buffer over-read, or (2) crafted timestamp formatting template, which triggers a buffer overflow. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

i686:
    postgresql92-test-9.2.10-1.49.amzn1.i686
    postgresql92-libs-9.2.10-1.49.amzn1.i686
    postgresql92-docs-9.2.10-1.49.amzn1.i686
    postgresql92-plperl-9.2.10-1.49.amzn1.i686
    postgresql92-debuginfo-9.2.10-1.49.amzn1.i686
    postgresql92-plpython-9.2.10-1.49.amzn1.i686
    postgresql92-devel-9.2.10-1.49.amzn1.i686
    postgresql92-server-9.2.10-1.49.amzn1.i686
    postgresql92-pltcl-9.2.10-1.49.amzn1.i686
    postgresql92-contrib-9.2.10-1.49.amzn1.i686
    postgresql92-server-compat-9.2.10-1.49.amzn1.i686
    postgresql92-9.2.10-1.49.amzn1.i686

src:
    postgresql92-9.2.10-1.49.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.10-1.49.amzn1.x86_64
    postgresql92-test-9.2.10-1.49.amzn1.x86_64
    postgresql92-devel-9.2.10-1.49.amzn1.x86_64
    postgresql92-docs-9.2.10-1.49.amzn1.x86_64
    postgresql92-pltcl-9.2.10-1.49.amzn1.x86_64
    postgresql92-9.2.10-1.49.amzn1.x86_64
    postgresql92-contrib-9.2.10-1.49.amzn1.x86_64
    postgresql92-debuginfo-9.2.10-1.49.amzn1.x86_64
    postgresql92-libs-9.2.10-1.49.amzn1.x86_64
    postgresql92-server-9.2.10-1.49.amzn1.x86_64
    postgresql92-plpython-9.2.10-1.49.amzn1.x86_64
    postgresql92-plperl-9.2.10-1.49.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2015-492.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Stack-based buffer overflow

EUVDB-ID: #VU34851

Risk: High

CVSSv3.1: 8.1 [AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:C]

CVE-ID: CVE-2015-0242

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a floating point number with a large precision, as demonstrated by using the to_char function. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

i686:
    postgresql92-test-9.2.10-1.49.amzn1.i686
    postgresql92-libs-9.2.10-1.49.amzn1.i686
    postgresql92-docs-9.2.10-1.49.amzn1.i686
    postgresql92-plperl-9.2.10-1.49.amzn1.i686
    postgresql92-debuginfo-9.2.10-1.49.amzn1.i686
    postgresql92-plpython-9.2.10-1.49.amzn1.i686
    postgresql92-devel-9.2.10-1.49.amzn1.i686
    postgresql92-server-9.2.10-1.49.amzn1.i686
    postgresql92-pltcl-9.2.10-1.49.amzn1.i686
    postgresql92-contrib-9.2.10-1.49.amzn1.i686
    postgresql92-server-compat-9.2.10-1.49.amzn1.i686
    postgresql92-9.2.10-1.49.amzn1.i686

src:
    postgresql92-9.2.10-1.49.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.10-1.49.amzn1.x86_64
    postgresql92-test-9.2.10-1.49.amzn1.x86_64
    postgresql92-devel-9.2.10-1.49.amzn1.x86_64
    postgresql92-docs-9.2.10-1.49.amzn1.x86_64
    postgresql92-pltcl-9.2.10-1.49.amzn1.x86_64
    postgresql92-9.2.10-1.49.amzn1.x86_64
    postgresql92-contrib-9.2.10-1.49.amzn1.x86_64
    postgresql92-debuginfo-9.2.10-1.49.amzn1.x86_64
    postgresql92-libs-9.2.10-1.49.amzn1.x86_64
    postgresql92-server-9.2.10-1.49.amzn1.x86_64
    postgresql92-plpython-9.2.10-1.49.amzn1.x86_64
    postgresql92-plperl-9.2.10-1.49.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2015-492.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Code Injection

EUVDB-ID: #VU30421

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-0243

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in unspecified vectors. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

i686:
    postgresql92-test-9.2.10-1.49.amzn1.i686
    postgresql92-libs-9.2.10-1.49.amzn1.i686
    postgresql92-docs-9.2.10-1.49.amzn1.i686
    postgresql92-plperl-9.2.10-1.49.amzn1.i686
    postgresql92-debuginfo-9.2.10-1.49.amzn1.i686
    postgresql92-plpython-9.2.10-1.49.amzn1.i686
    postgresql92-devel-9.2.10-1.49.amzn1.i686
    postgresql92-server-9.2.10-1.49.amzn1.i686
    postgresql92-pltcl-9.2.10-1.49.amzn1.i686
    postgresql92-contrib-9.2.10-1.49.amzn1.i686
    postgresql92-server-compat-9.2.10-1.49.amzn1.i686
    postgresql92-9.2.10-1.49.amzn1.i686

src:
    postgresql92-9.2.10-1.49.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.10-1.49.amzn1.x86_64
    postgresql92-test-9.2.10-1.49.amzn1.x86_64
    postgresql92-devel-9.2.10-1.49.amzn1.x86_64
    postgresql92-docs-9.2.10-1.49.amzn1.x86_64
    postgresql92-pltcl-9.2.10-1.49.amzn1.x86_64
    postgresql92-9.2.10-1.49.amzn1.x86_64
    postgresql92-contrib-9.2.10-1.49.amzn1.x86_64
    postgresql92-debuginfo-9.2.10-1.49.amzn1.x86_64
    postgresql92-libs-9.2.10-1.49.amzn1.x86_64
    postgresql92-server-9.2.10-1.49.amzn1.x86_64
    postgresql92-plpython-9.2.10-1.49.amzn1.x86_64
    postgresql92-plperl-9.2.10-1.49.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2015-492.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

6) SQL injection

EUVDB-ID: #VU30422

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-0244

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Mitigation

Update the affected packages:

i686:
    postgresql92-test-9.2.10-1.49.amzn1.i686
    postgresql92-libs-9.2.10-1.49.amzn1.i686
    postgresql92-docs-9.2.10-1.49.amzn1.i686
    postgresql92-plperl-9.2.10-1.49.amzn1.i686
    postgresql92-debuginfo-9.2.10-1.49.amzn1.i686
    postgresql92-plpython-9.2.10-1.49.amzn1.i686
    postgresql92-devel-9.2.10-1.49.amzn1.i686
    postgresql92-server-9.2.10-1.49.amzn1.i686
    postgresql92-pltcl-9.2.10-1.49.amzn1.i686
    postgresql92-contrib-9.2.10-1.49.amzn1.i686
    postgresql92-server-compat-9.2.10-1.49.amzn1.i686
    postgresql92-9.2.10-1.49.amzn1.i686

src:
    postgresql92-9.2.10-1.49.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.10-1.49.amzn1.x86_64
    postgresql92-test-9.2.10-1.49.amzn1.x86_64
    postgresql92-devel-9.2.10-1.49.amzn1.x86_64
    postgresql92-docs-9.2.10-1.49.amzn1.x86_64
    postgresql92-pltcl-9.2.10-1.49.amzn1.x86_64
    postgresql92-9.2.10-1.49.amzn1.x86_64
    postgresql92-contrib-9.2.10-1.49.amzn1.x86_64
    postgresql92-debuginfo-9.2.10-1.49.amzn1.x86_64
    postgresql92-libs-9.2.10-1.49.amzn1.x86_64
    postgresql92-server-9.2.10-1.49.amzn1.x86_64
    postgresql92-plpython-9.2.10-1.49.amzn1.x86_64
    postgresql92-plperl-9.2.10-1.49.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2015-492.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###