Amazon Linux AMI update for postgresql96



Published: 2018-12-07
Risk Low
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2018-10925
CVE-2018-10915
CVE-2018-1115
CWE-ID CWE-200
CWE-89
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: #VU14327

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-2018-10925

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote privileged attacker to obtain potentially sensitive information.

The vulnerability exists due to improper check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". A remote attacker with "CREATE TABLE" privileges can read arbitrary bytes server memory.

Mitigation

Update the affected packages.

i686:
    postgresql96-devel-9.6.11-1.82.amzn1.i686
    postgresql96-test-9.6.11-1.82.amzn1.i686
    postgresql96-static-9.6.11-1.82.amzn1.i686
    postgresql96-plpython26-9.6.11-1.82.amzn1.i686
    postgresql96-debuginfo-9.6.11-1.82.amzn1.i686
    postgresql96-server-9.6.11-1.82.amzn1.i686
    postgresql96-libs-9.6.11-1.82.amzn1.i686
    postgresql96-plpython27-9.6.11-1.82.amzn1.i686
    postgresql96-plperl-9.6.11-1.82.amzn1.i686
    postgresql96-9.6.11-1.82.amzn1.i686
    postgresql96-docs-9.6.11-1.82.amzn1.i686
    postgresql96-contrib-9.6.11-1.82.amzn1.i686

src:
    postgresql96-9.6.11-1.82.amzn1.src

x86_64:
    postgresql96-contrib-9.6.11-1.82.amzn1.x86_64
    postgresql96-debuginfo-9.6.11-1.82.amzn1.x86_64
    postgresql96-static-9.6.11-1.82.amzn1.x86_64
    postgresql96-test-9.6.11-1.82.amzn1.x86_64
    postgresql96-docs-9.6.11-1.82.amzn1.x86_64
    postgresql96-libs-9.6.11-1.82.amzn1.x86_64
    postgresql96-plperl-9.6.11-1.82.amzn1.x86_64
    postgresql96-devel-9.6.11-1.82.amzn1.x86_64
    postgresql96-plpython26-9.6.11-1.82.amzn1.x86_64
    postgresql96-plpython27-9.6.11-1.82.amzn1.x86_64
    postgresql96-server-9.6.11-1.82.amzn1.x86_64
    postgresql96-9.6.11-1.82.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2018-1119.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) SQL injection

EUVDB-ID: #VU14326

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-2018-10915

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 commands in web application database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted HTTP request to vulnerable script and execute arbitrary SQL commands in web application database.

Successful exploitation of the vulnerability may allow an attacker to gain administrative access to vulnerable web application.

Mitigation

Update the affected packages.

i686:
    postgresql96-devel-9.6.11-1.82.amzn1.i686
    postgresql96-test-9.6.11-1.82.amzn1.i686
    postgresql96-static-9.6.11-1.82.amzn1.i686
    postgresql96-plpython26-9.6.11-1.82.amzn1.i686
    postgresql96-debuginfo-9.6.11-1.82.amzn1.i686
    postgresql96-server-9.6.11-1.82.amzn1.i686
    postgresql96-libs-9.6.11-1.82.amzn1.i686
    postgresql96-plpython27-9.6.11-1.82.amzn1.i686
    postgresql96-plperl-9.6.11-1.82.amzn1.i686
    postgresql96-9.6.11-1.82.amzn1.i686
    postgresql96-docs-9.6.11-1.82.amzn1.i686
    postgresql96-contrib-9.6.11-1.82.amzn1.i686

src:
    postgresql96-9.6.11-1.82.amzn1.src

x86_64:
    postgresql96-contrib-9.6.11-1.82.amzn1.x86_64
    postgresql96-debuginfo-9.6.11-1.82.amzn1.x86_64
    postgresql96-static-9.6.11-1.82.amzn1.x86_64
    postgresql96-test-9.6.11-1.82.amzn1.x86_64
    postgresql96-docs-9.6.11-1.82.amzn1.x86_64
    postgresql96-libs-9.6.11-1.82.amzn1.x86_64
    postgresql96-plperl-9.6.11-1.82.amzn1.x86_64
    postgresql96-devel-9.6.11-1.82.amzn1.x86_64
    postgresql96-plpython26-9.6.11-1.82.amzn1.x86_64
    postgresql96-plpython27-9.6.11-1.82.amzn1.x86_64
    postgresql96-server-9.6.11-1.82.amzn1.x86_64
    postgresql96-9.6.11-1.82.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2018-1119.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) Security restrictions bypass

EUVDB-ID: #VU12652

Risk: Medium

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

CVE-ID: CVE-2018-1115

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

Description

The vulnerability allows a remote authenticated attacker to bypass security restrictions on the target system.

The weakness exists in the pg_catalog.pg_logfile_rotate() function due to improper Access Control List (ACL) restrictions as it does not follow the same ACLs as the pg_rorate_logfile function. A remote attacker can connect to the database and cause the target software to force log rotation, write log messages across arbitrary log files or cause the service to crash.

Mitigation

Update the affected packages.

i686:
    postgresql96-devel-9.6.11-1.82.amzn1.i686
    postgresql96-test-9.6.11-1.82.amzn1.i686
    postgresql96-static-9.6.11-1.82.amzn1.i686
    postgresql96-plpython26-9.6.11-1.82.amzn1.i686
    postgresql96-debuginfo-9.6.11-1.82.amzn1.i686
    postgresql96-server-9.6.11-1.82.amzn1.i686
    postgresql96-libs-9.6.11-1.82.amzn1.i686
    postgresql96-plpython27-9.6.11-1.82.amzn1.i686
    postgresql96-plperl-9.6.11-1.82.amzn1.i686
    postgresql96-9.6.11-1.82.amzn1.i686
    postgresql96-docs-9.6.11-1.82.amzn1.i686
    postgresql96-contrib-9.6.11-1.82.amzn1.i686

src:
    postgresql96-9.6.11-1.82.amzn1.src

x86_64:
    postgresql96-contrib-9.6.11-1.82.amzn1.x86_64
    postgresql96-debuginfo-9.6.11-1.82.amzn1.x86_64
    postgresql96-static-9.6.11-1.82.amzn1.x86_64
    postgresql96-test-9.6.11-1.82.amzn1.x86_64
    postgresql96-docs-9.6.11-1.82.amzn1.x86_64
    postgresql96-libs-9.6.11-1.82.amzn1.x86_64
    postgresql96-plperl-9.6.11-1.82.amzn1.x86_64
    postgresql96-devel-9.6.11-1.82.amzn1.x86_64
    postgresql96-plpython26-9.6.11-1.82.amzn1.x86_64
    postgresql96-plpython27-9.6.11-1.82.amzn1.x86_64
    postgresql96-server-9.6.11-1.82.amzn1.x86_64
    postgresql96-9.6.11-1.82.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

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