MiracleLinux 4 : rh-postgresql95-postgresql-9.5.9-4.AXS4 (AXSA:2017-2470:03)

medium Nessus Plugin ID 289583

Synopsis

The remote MiracleLinux host is missing one or more security updates.

Description

The remote MiracleLinux 4 host has packages installed that are affected by multiple vulnerabilities as referenced in the AXSA:2017-2470:03 advisory.

* Privilege escalation flaws were found in the initialization scripts of PostgreSQL. An attacker with access to the postgres user account could use these flaws to obtain root access on the server machine.
(CVE-2017-12172, CVE-2017-15097) Note: This patch drops the script privileges from root to the postgres user. Therefore, we dropped the
--new-systemd-unit option for security reasons. Please use the root-only script postgresql-new-systemd- unit.
Asianux would like to thank the PostgreSQL project for reporting CVE-2017-12172. The CVE-2017-15097 issue was discovered by Pedro Barbosa and the PostgreSQL project. Upstream acknowledges Antoine Scemama as the original reporter of these issues.
CVE-2017-12172 PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored startup implementations. Several implementations use a log file name that the database superuser can replace with a symbolic link. As root, they open(), chmod() and/or chown() this log file name. This often suffices for the database superuser to escalate to root privileges when root starts the server.
CVE-2017-15097
** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.

Tenable has extracted the preceding description block directly from the MiracleLinux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://tsn.miraclelinux.com/en/node/8913

Plugin Details

Severity: Medium

ID: 289583

File Name: miracle_linux_AXSA-2017-2470.nasl

Version: 1.1

Type: local

Published: 1/16/2026

Updated: 1/16/2026

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2017-15097

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-pltcl, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-static, cpe:/o:miracle:linux:4, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-docs, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-test, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-plperl, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-plpython, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-libs, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-contrib, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-server, p-cpe:/a:miracle:linux:rh-postgresql95-postgresql-devel

Required KB Items: Host/local_checks_enabled, Host/MiracleLinux/release, Host/MiracleLinux/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 12/11/2017

Vulnerability Publication Date: 11/9/2017

Reference Information

CVE: CVE-2017-12172, CVE-2017-15097