Vulnerability Name:

CVE-2017-10140 (CCN-142457)

Assigned:2017-08-12
Published:2017-08-12
Updated:2020-07-15
Summary:Postfix before 2.11.10, 3.0.x before 3.0.10, 3.1.x before 3.1.6, and 3.2.x before 3.2.2 might allow local users to gain privileges by leveraging undocumented functionality in Berkeley DB 2.x and later, related to reading settings from DB_CONFIG in the current directory.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/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): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/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): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-noinfo
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2017-10140

Source: CCN
Type: oss-sec Mailing List, Sat, 12 Aug 2017 13:20:18 -0700
Re: Berkeley DB reads DB_CONFIG from cwd

Source: MLIST
Type: Exploit, Mailing List, Third Party Advisory
[oss-sec] 20170611 Berkeley DB reads DB_CONFIG from cwd

Source: CCN
Type: Postfix Web site
Postfix

Source: CONFIRM
Type: Vendor Advisory
http://www.postfix.org/announcements/postfix-3.2.2.html

Source: REDHAT
Type: Third Party Advisory
RHSA-2019:0366

Source: XF
Type: UNKNOWN
postfix-cve201710140-priv-esc(142457)

Source: CCN
Type: IBM Security Bulletin 6551876 (Cloud Pak for Security)
Cloud Pak for Security uses packages that are vulnerable to multiple CVEs

Source: CCN
Type: Oracle CPUJul2020
Oracle Critical Patch Update Advisory - July 2020

Source: MISC
Type: UNKNOWN
https://www.oracle.com/security-alerts/cpujul2020.html

Vulnerable Configuration:Configuration 1:
  • cpe:/a:postfix:postfix:*:*:*:*:*:*:*:* (Version < 2.11.10)
  • OR cpe:/a:postfix:postfix:*:*:*:*:*:*:*:* (Version >= 3.0.0 and < 3.0.10)
  • OR cpe:/a:postfix:postfix:*:*:*:*:*:*:*:* (Version >= 3.1.0 and < 3.1.6)
  • OR cpe:/a:postfix:postfix:*:*:*:*:*:*:*:* (Version >= 3.2.0 and < 3.2.2)

  • Configuration CCN 1:
  • cpe:/a:postfix:postfix:2.11.9:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:cloud_pak_for_security:1.7.2.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2017101400000000
    V
    CVE-2017-10140 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-04-16
    oval:com.ubuntu.artful:def:201710140000
    V
    CVE-2017-10140 on Ubuntu 17.10 (artful) - medium.
    2018-04-16
    oval:com.ubuntu.xenial:def:201710140000
    V
    CVE-2017-10140 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-04-16
    oval:com.ubuntu.disco:def:2017101400000000
    V
    CVE-2017-10140 on Ubuntu 19.04 (disco) - medium.
    2018-04-16
    oval:com.ubuntu.bionic:def:201710140000
    V
    CVE-2017-10140 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-04-16
    oval:com.ubuntu.cosmic:def:2017101400000000
    V
    CVE-2017-10140 on Ubuntu 18.10 (cosmic) - medium.
    2018-04-16
    oval:com.ubuntu.cosmic:def:201710140000
    V
    CVE-2017-10140 on Ubuntu 18.10 (cosmic) - medium.
    2018-04-16
    oval:com.ubuntu.bionic:def:2017101400000000
    V
    CVE-2017-10140 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-04-16
    oval:com.ubuntu.trusty:def:201710140000
    V
    CVE-2017-10140 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-04-16
    BACK
    postfix postfix *
    postfix postfix *
    postfix postfix *
    postfix postfix *
    postfix postfix 2.11.9
    ibm cloud pak for security 1.7.2.0