Vulnerabilities > CVE-2019-3466 - Improper Privilege Management vulnerability in multiple products

047910
CVSS 7.2 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
local
low complexity
postgresql
canonical
debian
CWE-269
nessus

Summary

The pg_ctlcluster script in postgresql-common in versions prior to 210 didn't drop privileges when creating socket/statistics temporary directories, which could result in local privilege escalation.

Vulnerable Configurations

Part Description Count
Application
Postgresql
120
OS
Canonical
4
OS
Debian
2

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.

Nessus

  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-4568.NASL
    descriptionRich Mirch discovered that the pg_ctlcluster script didn
    last seen2020-03-17
    modified2019-11-18
    plugin id131086
    published2019-11-18
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131086
    titleDebian DSA-4568-1 : postgresql-common - security update
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-1994.NASL
    descriptionRich Mirch discovered that the pg_ctlcluster script didn
    last seen2020-06-01
    modified2020-06-02
    plugin id131085
    published2019-11-18
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131085
    titleDebian DLA-1994-1 : postgresql-common security update
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-4194-1.NASL
    descriptionRich Mirch discovered that the postgresql-common pg_ctlcluster script incorrectly handled directory creation. A local attacker could possibly use this issue to escalate privileges. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id131074
    published2019-11-15
    reporterUbuntu Security Notice (C) 2019 Canonical, Inc. / NASL script (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131074
    titleUbuntu 16.04 LTS / 18.04 LTS / 19.04 / 19.10 : postgresql-common vulnerability (USN-4194-1)