FreeBSD : p5-UI-Dialog -- shell command execution vulnerability (00dadbf0-6f61-11e5-a2a1-002590263bf5)

critical Nessus Plugin ID 86334

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Matthijs Kooijman reports :

It seems that the whiptail, cdialog and kdialog backends apply some improper escaping in their shell commands, causing special characters present in menu item titles to be interpreted by the shell. This includes the backtick evaluation operator, so this constitutes a security issue, allowing execution of arbitrary commands if an attacker has control over the text displayed in a menu.

Solution

Update the affected package.

See Also

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203667

https://rt.cpan.org/Public/Bug/Display.html?id=107364

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496448

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

http://www.nessus.org/u?88b0ca98

Plugin Details

Severity: Critical

ID: 86334

File Name: freebsd_pkg_00dadbf06f6111e5a2a1002590263bf5.nasl

Version: 2.8

Type: local

Published: 10/12/2015

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:p5-ui-dialog, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 10/10/2015

Vulnerability Publication Date: 8/24/2008

Reference Information

CVE: CVE-2008-7315