Amazon Linux AMI update for postgresql93, postgresql94, postgresql95, postgresql96



Published: 2018-04-06
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-1058
CWE-ID CWE-427
Exploitation vector Local
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 one low risk vulnerability.

1) Privilege escalation

EUVDB-ID: #VU10810

Risk: Low

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

CVE-ID: CVE-2018-1058

CWE-ID: CWE-427 - Uncontrolled Search Path Element

Exploit availability: No

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists in the pg_dump function due to improper security restrictions. A local attacker can submit a malicious function in separate namespaces and execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation

Update the affected packages.

i686:
    postgresql96-test-9.6.8-1.80.amzn1.i686
    postgresql96-plpython27-9.6.8-1.80.amzn1.i686
    postgresql96-contrib-9.6.8-1.80.amzn1.i686
    postgresql96-plperl-9.6.8-1.80.amzn1.i686
    postgresql96-server-9.6.8-1.80.amzn1.i686
    postgresql96-static-9.6.8-1.80.amzn1.i686
    postgresql96-9.6.8-1.80.amzn1.i686
    postgresql96-debuginfo-9.6.8-1.80.amzn1.i686
    postgresql96-devel-9.6.8-1.80.amzn1.i686
    postgresql96-docs-9.6.8-1.80.amzn1.i686
    postgresql96-libs-9.6.8-1.80.amzn1.i686
    postgresql96-plpython26-9.6.8-1.80.amzn1.i686
    postgresql95-plpython27-9.5.12-1.78.amzn1.i686
    postgresql95-plperl-9.5.12-1.78.amzn1.i686
    postgresql95-devel-9.5.12-1.78.amzn1.i686
    postgresql95-test-9.5.12-1.78.amzn1.i686
    postgresql95-libs-9.5.12-1.78.amzn1.i686
    postgresql95-static-9.5.12-1.78.amzn1.i686
    postgresql95-server-9.5.12-1.78.amzn1.i686
    postgresql95-docs-9.5.12-1.78.amzn1.i686
    postgresql95-debuginfo-9.5.12-1.78.amzn1.i686
    postgresql95-contrib-9.5.12-1.78.amzn1.i686
    postgresql95-9.5.12-1.78.amzn1.i686
    postgresql95-plpython26-9.5.12-1.78.amzn1.i686
    postgresql93-plpython27-9.3.22-1.70.amzn1.i686
    postgresql93-pltcl-9.3.22-1.70.amzn1.i686
    postgresql93-debuginfo-9.3.22-1.70.amzn1.i686
    postgresql93-devel-9.3.22-1.70.amzn1.i686
    postgresql93-9.3.22-1.70.amzn1.i686
    postgresql93-libs-9.3.22-1.70.amzn1.i686
    postgresql93-server-9.3.22-1.70.amzn1.i686
    postgresql93-docs-9.3.22-1.70.amzn1.i686
    postgresql93-plpython26-9.3.22-1.70.amzn1.i686
    postgresql93-test-9.3.22-1.70.amzn1.i686
    postgresql93-plperl-9.3.22-1.70.amzn1.i686
    postgresql93-contrib-9.3.22-1.70.amzn1.i686
    postgresql94-server-9.4.17-1.74.amzn1.i686
    postgresql94-devel-9.4.17-1.74.amzn1.i686
    postgresql94-9.4.17-1.74.amzn1.i686
    postgresql94-debuginfo-9.4.17-1.74.amzn1.i686
    postgresql94-contrib-9.4.17-1.74.amzn1.i686
    postgresql94-plpython26-9.4.17-1.74.amzn1.i686
    postgresql94-test-9.4.17-1.74.amzn1.i686
    postgresql94-plpython27-9.4.17-1.74.amzn1.i686
    postgresql94-docs-9.4.17-1.74.amzn1.i686
    postgresql94-libs-9.4.17-1.74.amzn1.i686
    postgresql94-plperl-9.4.17-1.74.amzn1.i686

src:
    postgresql96-9.6.8-1.80.amzn1.src
    postgresql95-9.5.12-1.78.amzn1.src
    postgresql93-9.3.22-1.70.amzn1.src
    postgresql94-9.4.17-1.74.amzn1.src

x86_64:
    postgresql96-libs-9.6.8-1.80.amzn1.x86_64
    postgresql96-plperl-9.6.8-1.80.amzn1.x86_64
    postgresql96-plpython27-9.6.8-1.80.amzn1.x86_64
    postgresql96-server-9.6.8-1.80.amzn1.x86_64
    postgresql96-debuginfo-9.6.8-1.80.amzn1.x86_64
    postgresql96-docs-9.6.8-1.80.amzn1.x86_64
    postgresql96-contrib-9.6.8-1.80.amzn1.x86_64
    postgresql96-plpython26-9.6.8-1.80.amzn1.x86_64
    postgresql96-9.6.8-1.80.amzn1.x86_64
    postgresql96-devel-9.6.8-1.80.amzn1.x86_64
    postgresql96-test-9.6.8-1.80.amzn1.x86_64
    postgresql96-static-9.6.8-1.80.amzn1.x86_64
    postgresql95-plpython27-9.5.12-1.78.amzn1.x86_64
    postgresql95-9.5.12-1.78.amzn1.x86_64
    postgresql95-plperl-9.5.12-1.78.amzn1.x86_64
    postgresql95-devel-9.5.12-1.78.amzn1.x86_64
    postgresql95-test-9.5.12-1.78.amzn1.x86_64
    postgresql95-contrib-9.5.12-1.78.amzn1.x86_64
    postgresql95-docs-9.5.12-1.78.amzn1.x86_64
    postgresql95-server-9.5.12-1.78.amzn1.x86_64
    postgresql95-debuginfo-9.5.12-1.78.amzn1.x86_64
    postgresql95-static-9.5.12-1.78.amzn1.x86_64
    postgresql95-plpython26-9.5.12-1.78.amzn1.x86_64
    postgresql95-libs-9.5.12-1.78.amzn1.x86_64
    postgresql93-docs-9.3.22-1.70.amzn1.x86_64
    postgresql93-plpython26-9.3.22-1.70.amzn1.x86_64
    postgresql93-server-9.3.22-1.70.amzn1.x86_64
    postgresql93-plpython27-9.3.22-1.70.amzn1.x86_64
    postgresql93-pltcl-9.3.22-1.70.amzn1.x86_64
    postgresql93-devel-9.3.22-1.70.amzn1.x86_64
    postgresql93-debuginfo-9.3.22-1.70.amzn1.x86_64
    postgresql93-contrib-9.3.22-1.70.amzn1.x86_64
    postgresql93-libs-9.3.22-1.70.amzn1.x86_64
    postgresql93-plperl-9.3.22-1.70.amzn1.x86_64
    postgresql93-test-9.3.22-1.70.amzn1.x86_64
    postgresql93-9.3.22-1.70.amzn1.x86_64
    postgresql94-libs-9.4.17-1.74.amzn1.x86_64
    postgresql94-plpython26-9.4.17-1.74.amzn1.x86_64
    postgresql94-server-9.4.17-1.74.amzn1.x86_64
    postgresql94-9.4.17-1.74.amzn1.x86_64
    postgresql94-devel-9.4.17-1.74.amzn1.x86_64
    postgresql94-contrib-9.4.17-1.74.amzn1.x86_64
    postgresql94-docs-9.4.17-1.74.amzn1.x86_64
    postgresql94-debuginfo-9.4.17-1.74.amzn1.x86_64
    postgresql94-test-9.4.17-1.74.amzn1.x86_64
    postgresql94-plpython27-9.4.17-1.74.amzn1.x86_64
    postgresql94-plperl-9.4.17-1.74.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2018-990.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###