FreeBSD : fail2ban -- possible RCE vulnerability in mailing action using mailutils (c848059a-318b-11ec-aa15-0800270512f4)

high Nessus Plugin ID 154659

Language:

Synopsis

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

Description

Jakub Zoczek reports :

Command mail from mailutils package used in mail actions like mail-whois can execute command if unescaped sequences (\n~) are available in 'foreign' input (for instance in whois output).

Solution

Update the affected packages.

See Also

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

http://www.nessus.org/u?413d2a7f

Plugin Details

Severity: High

ID: 154659

File Name: freebsd_pkg_c848059a318b11ecaa150800270512f4.nasl

Version: 1.3

Type: local

Published: 10/28/2021

Updated: 11/27/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2021-32749

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py310-fail2ban, p-cpe:/a:freebsd:freebsd:py36-fail2ban, p-cpe:/a:freebsd:freebsd:py37-fail2ban, p-cpe:/a:freebsd:freebsd:py38-fail2ban, p-cpe:/a:freebsd:freebsd:py39-fail2ban, cpe:/o:freebsd:freebsd

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/28/2021

Vulnerability Publication Date: 7/16/2021

Reference Information

CVE: CVE-2021-32749