Amazon Linux AMI update for postgresql8



Published: 2015-04-16
Risk High
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2014-8161
CVE-2015-0241
CVE-2015-0243
CVE-2015-0244
CWE-ID CWE-209
CWE-94
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 4 vulnerabilities.

1) 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:
    postgresql8-plpython-8.4.20-2.48.amzn1.i686
    postgresql8-plperl-8.4.20-2.48.amzn1.i686
    postgresql8-docs-8.4.20-2.48.amzn1.i686
    postgresql8-libs-8.4.20-2.48.amzn1.i686
    postgresql8-8.4.20-2.48.amzn1.i686
    postgresql8-debuginfo-8.4.20-2.48.amzn1.i686
    postgresql8-server-8.4.20-2.48.amzn1.i686
    postgresql8-contrib-8.4.20-2.48.amzn1.i686
    postgresql8-pltcl-8.4.20-2.48.amzn1.i686
    postgresql8-test-8.4.20-2.48.amzn1.i686
    postgresql8-devel-8.4.20-2.48.amzn1.i686

src:
    postgresql8-8.4.20-2.48.amzn1.src

x86_64:
    postgresql8-debuginfo-8.4.20-2.48.amzn1.x86_64
    postgresql8-pltcl-8.4.20-2.48.amzn1.x86_64
    postgresql8-devel-8.4.20-2.48.amzn1.x86_64
    postgresql8-plpython-8.4.20-2.48.amzn1.x86_64
    postgresql8-contrib-8.4.20-2.48.amzn1.x86_64
    postgresql8-plperl-8.4.20-2.48.amzn1.x86_64
    postgresql8-test-8.4.20-2.48.amzn1.x86_64
    postgresql8-docs-8.4.20-2.48.amzn1.x86_64
    postgresql8-8.4.20-2.48.amzn1.x86_64
    postgresql8-libs-8.4.20-2.48.amzn1.x86_64
    postgresql8-server-8.4.20-2.48.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-503.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.

2) 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:
    postgresql8-plpython-8.4.20-2.48.amzn1.i686
    postgresql8-plperl-8.4.20-2.48.amzn1.i686
    postgresql8-docs-8.4.20-2.48.amzn1.i686
    postgresql8-libs-8.4.20-2.48.amzn1.i686
    postgresql8-8.4.20-2.48.amzn1.i686
    postgresql8-debuginfo-8.4.20-2.48.amzn1.i686
    postgresql8-server-8.4.20-2.48.amzn1.i686
    postgresql8-contrib-8.4.20-2.48.amzn1.i686
    postgresql8-pltcl-8.4.20-2.48.amzn1.i686
    postgresql8-test-8.4.20-2.48.amzn1.i686
    postgresql8-devel-8.4.20-2.48.amzn1.i686

src:
    postgresql8-8.4.20-2.48.amzn1.src

x86_64:
    postgresql8-debuginfo-8.4.20-2.48.amzn1.x86_64
    postgresql8-pltcl-8.4.20-2.48.amzn1.x86_64
    postgresql8-devel-8.4.20-2.48.amzn1.x86_64
    postgresql8-plpython-8.4.20-2.48.amzn1.x86_64
    postgresql8-contrib-8.4.20-2.48.amzn1.x86_64
    postgresql8-plperl-8.4.20-2.48.amzn1.x86_64
    postgresql8-test-8.4.20-2.48.amzn1.x86_64
    postgresql8-docs-8.4.20-2.48.amzn1.x86_64
    postgresql8-8.4.20-2.48.amzn1.x86_64
    postgresql8-libs-8.4.20-2.48.amzn1.x86_64
    postgresql8-server-8.4.20-2.48.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-503.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.

3) 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:
    postgresql8-plpython-8.4.20-2.48.amzn1.i686
    postgresql8-plperl-8.4.20-2.48.amzn1.i686
    postgresql8-docs-8.4.20-2.48.amzn1.i686
    postgresql8-libs-8.4.20-2.48.amzn1.i686
    postgresql8-8.4.20-2.48.amzn1.i686
    postgresql8-debuginfo-8.4.20-2.48.amzn1.i686
    postgresql8-server-8.4.20-2.48.amzn1.i686
    postgresql8-contrib-8.4.20-2.48.amzn1.i686
    postgresql8-pltcl-8.4.20-2.48.amzn1.i686
    postgresql8-test-8.4.20-2.48.amzn1.i686
    postgresql8-devel-8.4.20-2.48.amzn1.i686

src:
    postgresql8-8.4.20-2.48.amzn1.src

x86_64:
    postgresql8-debuginfo-8.4.20-2.48.amzn1.x86_64
    postgresql8-pltcl-8.4.20-2.48.amzn1.x86_64
    postgresql8-devel-8.4.20-2.48.amzn1.x86_64
    postgresql8-plpython-8.4.20-2.48.amzn1.x86_64
    postgresql8-contrib-8.4.20-2.48.amzn1.x86_64
    postgresql8-plperl-8.4.20-2.48.amzn1.x86_64
    postgresql8-test-8.4.20-2.48.amzn1.x86_64
    postgresql8-docs-8.4.20-2.48.amzn1.x86_64
    postgresql8-8.4.20-2.48.amzn1.x86_64
    postgresql8-libs-8.4.20-2.48.amzn1.x86_64
    postgresql8-server-8.4.20-2.48.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-503.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) 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:
    postgresql8-plpython-8.4.20-2.48.amzn1.i686
    postgresql8-plperl-8.4.20-2.48.amzn1.i686
    postgresql8-docs-8.4.20-2.48.amzn1.i686
    postgresql8-libs-8.4.20-2.48.amzn1.i686
    postgresql8-8.4.20-2.48.amzn1.i686
    postgresql8-debuginfo-8.4.20-2.48.amzn1.i686
    postgresql8-server-8.4.20-2.48.amzn1.i686
    postgresql8-contrib-8.4.20-2.48.amzn1.i686
    postgresql8-pltcl-8.4.20-2.48.amzn1.i686
    postgresql8-test-8.4.20-2.48.amzn1.i686
    postgresql8-devel-8.4.20-2.48.amzn1.i686

src:
    postgresql8-8.4.20-2.48.amzn1.src

x86_64:
    postgresql8-debuginfo-8.4.20-2.48.amzn1.x86_64
    postgresql8-pltcl-8.4.20-2.48.amzn1.x86_64
    postgresql8-devel-8.4.20-2.48.amzn1.x86_64
    postgresql8-plpython-8.4.20-2.48.amzn1.x86_64
    postgresql8-contrib-8.4.20-2.48.amzn1.x86_64
    postgresql8-plperl-8.4.20-2.48.amzn1.x86_64
    postgresql8-test-8.4.20-2.48.amzn1.x86_64
    postgresql8-docs-8.4.20-2.48.amzn1.x86_64
    postgresql8-8.4.20-2.48.amzn1.x86_64
    postgresql8-libs-8.4.20-2.48.amzn1.x86_64
    postgresql8-server-8.4.20-2.48.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-503.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###