Amazon Linux AMI update for postgresql93



Published: 2015-02-25
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2015-0243
CVE-2015-0244
CWE-ID 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 2 vulnerabilities.

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

src:
    postgresql93-9.3.6-1.56.amzn1.src

x86_64:
    postgresql93-docs-9.3.6-1.56.amzn1.x86_64
    postgresql93-server-9.3.6-1.56.amzn1.x86_64
    postgresql93-pltcl-9.3.6-1.56.amzn1.x86_64
    postgresql93-9.3.6-1.56.amzn1.x86_64
    postgresql93-contrib-9.3.6-1.56.amzn1.x86_64
    postgresql93-plperl-9.3.6-1.56.amzn1.x86_64
    postgresql93-plpython-9.3.6-1.56.amzn1.x86_64
    postgresql93-test-9.3.6-1.56.amzn1.x86_64
    postgresql93-libs-9.3.6-1.56.amzn1.x86_64
    postgresql93-debuginfo-9.3.6-1.56.amzn1.x86_64
    postgresql93-devel-9.3.6-1.56.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2015-485.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) 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:
    postgresql93-libs-9.3.6-1.56.amzn1.i686
    postgresql93-server-9.3.6-1.56.amzn1.i686
    postgresql93-plperl-9.3.6-1.56.amzn1.i686
    postgresql93-plpython-9.3.6-1.56.amzn1.i686
    postgresql93-test-9.3.6-1.56.amzn1.i686
    postgresql93-devel-9.3.6-1.56.amzn1.i686
    postgresql93-pltcl-9.3.6-1.56.amzn1.i686
    postgresql93-9.3.6-1.56.amzn1.i686
    postgresql93-debuginfo-9.3.6-1.56.amzn1.i686
    postgresql93-docs-9.3.6-1.56.amzn1.i686
    postgresql93-contrib-9.3.6-1.56.amzn1.i686

src:
    postgresql93-9.3.6-1.56.amzn1.src

x86_64:
    postgresql93-docs-9.3.6-1.56.amzn1.x86_64
    postgresql93-server-9.3.6-1.56.amzn1.x86_64
    postgresql93-pltcl-9.3.6-1.56.amzn1.x86_64
    postgresql93-9.3.6-1.56.amzn1.x86_64
    postgresql93-contrib-9.3.6-1.56.amzn1.x86_64
    postgresql93-plperl-9.3.6-1.56.amzn1.x86_64
    postgresql93-plpython-9.3.6-1.56.amzn1.x86_64
    postgresql93-test-9.3.6-1.56.amzn1.x86_64
    postgresql93-libs-9.3.6-1.56.amzn1.x86_64
    postgresql93-debuginfo-9.3.6-1.56.amzn1.x86_64
    postgresql93-devel-9.3.6-1.56.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

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