Vulnerability Name:

CVE-2018-1053

Assigned:2017-12-04
Published:2018-02-08
Updated:2018-02-14
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: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: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
References:Source: BID
Type: UNKNOWN
102986

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

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

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

Vulnerable Configuration:
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:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    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.6.5
    postgresql postgresql 9.5.9
    postgresql postgresql 9.4.14
    postgresql postgresql 9.3.19