FreeBSD : mongodb -- Our init scripts check /proc/[pid]/stat should validate that `(${procname})` is the process' command name. (273c6c43-e3ad-11e9-8af7-08002720423d)

medium Nessus Plugin ID 129838

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Sicheng Liu of Beijing DBSEC Technology Co., Ltd reports :

Incorrect scoping of kill operations in MongoDB Server's packaged SysV init scripts allow users with write access to the PID file to insert arbitrary PIDs to be killed when the root user stops the MongoDB process via SysV init.

Solution

Update the affected packages.

See Also

https://jira.mongodb.org/browse/SERVER-40563

http://www.nessus.org/u?e50cfd82

Plugin Details

Severity: Medium

ID: 129838

File Name: freebsd_pkg_273c6c43e3ad11e98af708002720423d.nasl

Version: 1.4

Type: local

Published: 10/14/2019

Updated: 4/18/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 1.9

Temporal Score: 1.4

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

CVSS Score Source: CVE-2019-2389

CVSS v3

Risk Factor: Medium

Base Score: 4.2

Temporal Score: 3.7

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:mongodb34, p-cpe:/a:freebsd:freebsd:mongodb36, p-cpe:/a:freebsd:freebsd:mongodb40, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 9/30/2019

Vulnerability Publication Date: 8/6/2019

Reference Information

CVE: CVE-2019-2389