Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title PEAR Net_Traceroute: Command injection
Informations
Name GLSA-200911-06 First vendor Publication 2009-11-26
Vendor Gentoo Last vendor Modification 2009-11-26
Severity (Vendor) High Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Cvss Base Score 10 Attack Range Network
Cvss Impact Score 10 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

An input sanitation error in PEAR Net_Traceroute might allow remote attackers to execute arbitrary commands.

Background

PEAR Net_Traceroute is an OS independent wrapper class for executing traceroute calls from PHP.

Description

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).

Resolution

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"

References

[ 1 ] CVE-2009-4025 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4025

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200911-06.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200911-06.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-78 Improper Sanitization of Special Elements used in an OS Command ('OS Command Injection') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 4

OpenVAS Exploits

Date Description
2010-01-07 Name : FreeBSD Ports: pear-Net_Ping
File : nvt/freebsd_pear-Net_Ping.nasl
2009-12-03 Name : Gentoo Security Advisory GLSA 200911-06 (PEAR-Net_Traceroute)
File : nvt/glsa_200911_06.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
60515 PEAR-Net_Traceroute Net_Traceroute::traceroute() Method host Parameter Arbitr...

Nessus® Vulnerability Scanner

Date Description
2010-01-05 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_56ba8728f98711deb28d00215c6a37bb.nasl - Type : ACT_GATHER_INFO
2009-11-30 Name : The remote Fedora host is missing a security update.
File : fedora_2009-11551.nasl - Type : ACT_GATHER_INFO
2009-11-30 Name : The remote Fedora host is missing a security update.
File : fedora_2009-11617.nasl - Type : ACT_GATHER_INFO
2009-11-30 Name : The remote Fedora host is missing a security update.
File : fedora_2009-12083.nasl - Type : ACT_GATHER_INFO
2009-11-30 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200911-06.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:36:46
  • Multiple Updates