Amazon Linux AMI update for postgresql94, postgresql95



Published: 2017-08-31
Risk Low
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2017-7547
CVE-2017-7546
CVE-2017-7548
CWE-ID CWE-284
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 3 vulnerabilities.

1) Information disclosure

EUVDB-ID: #VU7875

Risk: Low

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

CVE-ID: CVE-2017-7547

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

Description

The vulnerability allows a remote authenticated attacker to obtain potentially sensitive information on the target system.

The weakness exists in the pg_user_mappings function due to insufficient security restrictions. A remote attacker can gain access to important data and conduct further attacks.

Mitigation

Update the affected packages.

i686:
    postgresql94-plpython26-9.4.13-1.69.amzn1.i686
    postgresql94-contrib-9.4.13-1.69.amzn1.i686
    postgresql94-plperl-9.4.13-1.69.amzn1.i686
    postgresql94-server-9.4.13-1.69.amzn1.i686
    postgresql94-devel-9.4.13-1.69.amzn1.i686
    postgresql94-9.4.13-1.69.amzn1.i686
    postgresql94-libs-9.4.13-1.69.amzn1.i686
    postgresql94-plpython27-9.4.13-1.69.amzn1.i686
    postgresql94-test-9.4.13-1.69.amzn1.i686
    postgresql94-debuginfo-9.4.13-1.69.amzn1.i686
    postgresql94-docs-9.4.13-1.69.amzn1.i686
    postgresql95-debuginfo-9.5.8-1.73.amzn1.i686
    postgresql95-test-9.5.8-1.73.amzn1.i686
    postgresql95-plperl-9.5.8-1.73.amzn1.i686
    postgresql95-libs-9.5.8-1.73.amzn1.i686
    postgresql95-plpython26-9.5.8-1.73.amzn1.i686
    postgresql95-static-9.5.8-1.73.amzn1.i686
    postgresql95-devel-9.5.8-1.73.amzn1.i686
    postgresql95-contrib-9.5.8-1.73.amzn1.i686
    postgresql95-server-9.5.8-1.73.amzn1.i686
    postgresql95-plpython27-9.5.8-1.73.amzn1.i686
    postgresql95-docs-9.5.8-1.73.amzn1.i686
    postgresql95-9.5.8-1.73.amzn1.i686

src:
    postgresql94-9.4.13-1.69.amzn1.src
    postgresql95-9.5.8-1.73.amzn1.src

x86_64:
    postgresql94-9.4.13-1.69.amzn1.x86_64
    postgresql94-debuginfo-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython27-9.4.13-1.69.amzn1.x86_64
    postgresql94-devel-9.4.13-1.69.amzn1.x86_64
    postgresql94-docs-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython26-9.4.13-1.69.amzn1.x86_64
    postgresql94-test-9.4.13-1.69.amzn1.x86_64
    postgresql94-plperl-9.4.13-1.69.amzn1.x86_64
    postgresql94-server-9.4.13-1.69.amzn1.x86_64
    postgresql94-contrib-9.4.13-1.69.amzn1.x86_64
    postgresql94-libs-9.4.13-1.69.amzn1.x86_64
    postgresql95-9.5.8-1.73.amzn1.x86_64
    postgresql95-libs-9.5.8-1.73.amzn1.x86_64
    postgresql95-contrib-9.5.8-1.73.amzn1.x86_64
    postgresql95-docs-9.5.8-1.73.amzn1.x86_64
    postgresql95-plperl-9.5.8-1.73.amzn1.x86_64
    postgresql95-devel-9.5.8-1.73.amzn1.x86_64
    postgresql95-test-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython26-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython27-9.5.8-1.73.amzn1.x86_64
    postgresql95-server-9.5.8-1.73.amzn1.x86_64
    postgresql95-debuginfo-9.5.8-1.73.amzn1.x86_64
    postgresql95-static-9.5.8-1.73.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2017-885.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) Authentication bypass

EUVDB-ID: #VU7873

Risk: Low

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

CVE-ID: CVE-2017-7546

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authentication on the target system.

The weakness exists in the systems using libpq or a libpq-based connection driver to perform password-based authentication methods due to insufficient security restrictions. A remote attacker can submit an empty password to disable password login and log in to the system.

Successful exploitation of the vulnerability may result in unauthorized access to the system and further attacks.

Mitigation

Update the affected packages.

i686:
    postgresql94-plpython26-9.4.13-1.69.amzn1.i686
    postgresql94-contrib-9.4.13-1.69.amzn1.i686
    postgresql94-plperl-9.4.13-1.69.amzn1.i686
    postgresql94-server-9.4.13-1.69.amzn1.i686
    postgresql94-devel-9.4.13-1.69.amzn1.i686
    postgresql94-9.4.13-1.69.amzn1.i686
    postgresql94-libs-9.4.13-1.69.amzn1.i686
    postgresql94-plpython27-9.4.13-1.69.amzn1.i686
    postgresql94-test-9.4.13-1.69.amzn1.i686
    postgresql94-debuginfo-9.4.13-1.69.amzn1.i686
    postgresql94-docs-9.4.13-1.69.amzn1.i686
    postgresql95-debuginfo-9.5.8-1.73.amzn1.i686
    postgresql95-test-9.5.8-1.73.amzn1.i686
    postgresql95-plperl-9.5.8-1.73.amzn1.i686
    postgresql95-libs-9.5.8-1.73.amzn1.i686
    postgresql95-plpython26-9.5.8-1.73.amzn1.i686
    postgresql95-static-9.5.8-1.73.amzn1.i686
    postgresql95-devel-9.5.8-1.73.amzn1.i686
    postgresql95-contrib-9.5.8-1.73.amzn1.i686
    postgresql95-server-9.5.8-1.73.amzn1.i686
    postgresql95-plpython27-9.5.8-1.73.amzn1.i686
    postgresql95-docs-9.5.8-1.73.amzn1.i686
    postgresql95-9.5.8-1.73.amzn1.i686

src:
    postgresql94-9.4.13-1.69.amzn1.src
    postgresql95-9.5.8-1.73.amzn1.src

x86_64:
    postgresql94-9.4.13-1.69.amzn1.x86_64
    postgresql94-debuginfo-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython27-9.4.13-1.69.amzn1.x86_64
    postgresql94-devel-9.4.13-1.69.amzn1.x86_64
    postgresql94-docs-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython26-9.4.13-1.69.amzn1.x86_64
    postgresql94-test-9.4.13-1.69.amzn1.x86_64
    postgresql94-plperl-9.4.13-1.69.amzn1.x86_64
    postgresql94-server-9.4.13-1.69.amzn1.x86_64
    postgresql94-contrib-9.4.13-1.69.amzn1.x86_64
    postgresql94-libs-9.4.13-1.69.amzn1.x86_64
    postgresql95-9.5.8-1.73.amzn1.x86_64
    postgresql95-libs-9.5.8-1.73.amzn1.x86_64
    postgresql95-contrib-9.5.8-1.73.amzn1.x86_64
    postgresql95-docs-9.5.8-1.73.amzn1.x86_64
    postgresql95-plperl-9.5.8-1.73.amzn1.x86_64
    postgresql95-devel-9.5.8-1.73.amzn1.x86_64
    postgresql95-test-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython26-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython27-9.5.8-1.73.amzn1.x86_64
    postgresql95-server-9.5.8-1.73.amzn1.x86_64
    postgresql95-debuginfo-9.5.8-1.73.amzn1.x86_64
    postgresql95-static-9.5.8-1.73.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2017-885.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) Denial of service

EUVDB-ID: #VU7874

Risk: Low

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

CVE-ID: CVE-2017-7548

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

Description

The vulnerability allows a remote authenticated attacker to cause DoS condition on the target system.

The weakness exists due to an access control flaw in the lo_put() function to change the data in a large object. A remote attacker can cause the application to crash.

Mitigation

Update the affected packages.

i686:
    postgresql94-plpython26-9.4.13-1.69.amzn1.i686
    postgresql94-contrib-9.4.13-1.69.amzn1.i686
    postgresql94-plperl-9.4.13-1.69.amzn1.i686
    postgresql94-server-9.4.13-1.69.amzn1.i686
    postgresql94-devel-9.4.13-1.69.amzn1.i686
    postgresql94-9.4.13-1.69.amzn1.i686
    postgresql94-libs-9.4.13-1.69.amzn1.i686
    postgresql94-plpython27-9.4.13-1.69.amzn1.i686
    postgresql94-test-9.4.13-1.69.amzn1.i686
    postgresql94-debuginfo-9.4.13-1.69.amzn1.i686
    postgresql94-docs-9.4.13-1.69.amzn1.i686
    postgresql95-debuginfo-9.5.8-1.73.amzn1.i686
    postgresql95-test-9.5.8-1.73.amzn1.i686
    postgresql95-plperl-9.5.8-1.73.amzn1.i686
    postgresql95-libs-9.5.8-1.73.amzn1.i686
    postgresql95-plpython26-9.5.8-1.73.amzn1.i686
    postgresql95-static-9.5.8-1.73.amzn1.i686
    postgresql95-devel-9.5.8-1.73.amzn1.i686
    postgresql95-contrib-9.5.8-1.73.amzn1.i686
    postgresql95-server-9.5.8-1.73.amzn1.i686
    postgresql95-plpython27-9.5.8-1.73.amzn1.i686
    postgresql95-docs-9.5.8-1.73.amzn1.i686
    postgresql95-9.5.8-1.73.amzn1.i686

src:
    postgresql94-9.4.13-1.69.amzn1.src
    postgresql95-9.5.8-1.73.amzn1.src

x86_64:
    postgresql94-9.4.13-1.69.amzn1.x86_64
    postgresql94-debuginfo-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython27-9.4.13-1.69.amzn1.x86_64
    postgresql94-devel-9.4.13-1.69.amzn1.x86_64
    postgresql94-docs-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython26-9.4.13-1.69.amzn1.x86_64
    postgresql94-test-9.4.13-1.69.amzn1.x86_64
    postgresql94-plperl-9.4.13-1.69.amzn1.x86_64
    postgresql94-server-9.4.13-1.69.amzn1.x86_64
    postgresql94-contrib-9.4.13-1.69.amzn1.x86_64
    postgresql94-libs-9.4.13-1.69.amzn1.x86_64
    postgresql95-9.5.8-1.73.amzn1.x86_64
    postgresql95-libs-9.5.8-1.73.amzn1.x86_64
    postgresql95-contrib-9.5.8-1.73.amzn1.x86_64
    postgresql95-docs-9.5.8-1.73.amzn1.x86_64
    postgresql95-plperl-9.5.8-1.73.amzn1.x86_64
    postgresql95-devel-9.5.8-1.73.amzn1.x86_64
    postgresql95-test-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython26-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython27-9.5.8-1.73.amzn1.x86_64
    postgresql95-server-9.5.8-1.73.amzn1.x86_64
    postgresql95-debuginfo-9.5.8-1.73.amzn1.x86_64
    postgresql95-static-9.5.8-1.73.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

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



###SIDEBAR###