GLSA-200911-06 : PEAR Net_Traceroute: Command injection

critical Nessus Plugin ID 42916

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200911-06 (PEAR Net_Traceroute: Command injection)

Pasquale Imperato reported that the $host parameter to the traceroute() function in Traceroute.php is not properly sanitized before being passed to exec().
Impact :

A remote attacker could exploit this vulnerability when user input is passed directly to PEAR Net_Traceroute in a PHP script, possibly resulting in the remote execution of arbitrary shell commands with the privileges of the user running the affected PHP script.
Workaround :

Ensure that all data that is passed to the traceroute() function is properly shell escaped (for instance using the escapeshellcmd() function).

Solution

All PEAR Net_Traceroute users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-php/PEAR-Net_Traceroute-0.21.2'

See Also

https://security.gentoo.org/glsa/200911-06

Plugin Details

Severity: Critical

ID: 42916

File Name: gentoo_GLSA-200911-06.nasl

Version: 1.14

Type: local

Published: 11/30/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pear-net_traceroute, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/26/2009

Reference Information

CVE: CVE-2009-4025

BID: 37094

CWE: 78

GLSA: 200911-06