FreeBSD : perl -- local arbitrary code execution (72bfbb09-5a6a-11e6-a6c3-14dae9d210b8)

high Nessus Plugin ID 92741

Synopsis

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

Description

Sawyer X reports :

Perl 5.x before 5.22.3-RC2 and 5.24 before 5.24.1-RC2 do not properly remove . (period) characters from the end of the includes directory array, which might allow local users to gain privileges via a Trojan horse module under the current working directory.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?34d06de1

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

Plugin Details

Severity: High

ID: 92741

File Name: freebsd_pkg_72bfbb095a6a11e6a6c314dae9d210b8.nasl

Version: 2.9

Type: local

Published: 8/5/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

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

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:perl, p-cpe:/a:freebsd:freebsd:perl5, p-cpe:/a:freebsd:freebsd:perl5-devel, p-cpe:/a:freebsd:freebsd:perl5.18, p-cpe:/a:freebsd:freebsd:perl5.20, p-cpe:/a:freebsd:freebsd:perl5.22, p-cpe:/a:freebsd:freebsd:perl5.24, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 8/4/2016

Vulnerability Publication Date: 7/21/2016

Reference Information

CVE: CVE-2016-1238