Vulnerability Name:

CVE-2018-1053

Assigned:2017-12-04
Published:2018-02-08
Updated:2018-03-15
Summary:In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under umask which was in effect when the user invoked pg_upgrade, and not under 0077 which is normally used for other temporary files. This can allow an authenticated attacker to read or modify the one file, which may contain encrypted or unencrypted database passwords. The attack is infeasible if a directory mode blocks the attacker searching the current working directory or if the prevailing umask blocks the attacker opening the file.
CVSS v3 Severity:7.0 High (CVSS v3 Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.1 Medium (Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
4.3 Medium (CCN CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)
3.8 Low (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:3.3 Low (CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
4.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-264
References:Source: BID
Type: VENDOR_ADVISORY
102986

Source: XF
Type: UNKNOWN
postgresql-cve20181053-info-disc(138939)

Source: MLIST
Type: VENDOR_ADVISORY
[debian-lts-announce] 20180207 [SECURITY] [DLA-1271-1] postgresql-9.1 security update

Source: UBUNTU
Type: UNKNOWN
USN-3564-1

Source: CONFIRM
Type: VENDOR_ADVISORY
https://www.postgresql.org/about/news/1829/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:postgresql:postgresql:9.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.3:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.10:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.11:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.12:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.13:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.14:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.15:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.16:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.17:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.5:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.6:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.7:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.8:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.9:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.10:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.11:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.12:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.5.2:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.5.3:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.5.4:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.5.5:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.5.6:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.5.7:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.6.1:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:10.0:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:10.1:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:debian:debian_linux:7.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:postgresql:postgresql:9.6.5:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.5.9:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.4.14:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:9.3.19:*:*:*:*:*:*:*
  • OR cpe:/a:postgresql:postgresql:10.1:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20181053
    V
    CVE-2018-1053
    2018-05-20
    oval:com.ubuntu.trusty:def:20181053000
    V
    CVE-2018-1053 on Ubuntu 14.04 LTS (trusty) - low.
    2018-02-09
    oval:com.ubuntu.xenial:def:20181053000
    V
    CVE-2018-1053 on Ubuntu 16.04 LTS (xenial) - low.
    2018-02-09
    oval:com.ubuntu.artful:def:20181053000
    V
    CVE-2018-1053 on Ubuntu 17.10 (artful) - low.
    2018-02-09
    BACK
    postgresql postgresql 9.3.1
    postgresql postgresql 9.3.2
    postgresql postgresql 9.3.3
    postgresql postgresql 9.3.10
    postgresql postgresql 9.3.11
    postgresql postgresql 9.3.12
    postgresql postgresql 9.3.13
    postgresql postgresql 9.3.14
    postgresql postgresql 9.3.15
    postgresql postgresql 9.3.16
    postgresql postgresql 9.3.17
    postgresql postgresql 9.4.5
    postgresql postgresql 9.4.6
    postgresql postgresql 9.4.7
    postgresql postgresql 9.4.8
    postgresql postgresql 9.4.9
    postgresql postgresql 9.4.10
    postgresql postgresql 9.4.11
    postgresql postgresql 9.4.12
    postgresql postgresql 9.5.2
    postgresql postgresql 9.5.3
    postgresql postgresql 9.5.4
    postgresql postgresql 9.5.5
    postgresql postgresql 9.5.6
    postgresql postgresql 9.5.7
    postgresql postgresql 9.6.1
    postgresql postgresql 9.6.2
    postgresql postgresql 10.0
    postgresql postgresql 10.1
    debian debian linux 7.0
    postgresql postgresql 9.6.5
    postgresql postgresql 9.5.9
    postgresql postgresql 9.4.14
    postgresql postgresql 9.3.19
    postgresql postgresql 10.1