Login
Newsletter
Werbung

Sicherheit: Ausführen beliebiger Kommandos in PEAR Net_Traceroute
Aktuelle Meldungen Distributionen
Name: Ausführen beliebiger Kommandos in PEAR Net_Traceroute
ID: 200911-06
Distribution: Gentoo
Plattformen: Keine Angabe
Datum: Do, 26. November 2009, 21:19
Referenzen: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4025
Applikationen: PEAR Net_Traceroute

Originalnachricht

--Sig_/EForcq=3z7b9.MvifrV2qV4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200911-06
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: PEAR Net_Traceroute: Command injection
Date: November 26, 2009
Bugs: #294264
ID: 200911-06

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-php/PEAR-Net_Traceroute < 0.21.2 >=3D 0.21.2

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
">=3Ddev-php/PEAR-Net_Traceroute-0.21.2"

References
==========

[ 1 ] CVE-2009-4025
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-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

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

--Sig_/EForcq=3z7b9.MvifrV2qV4
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)

iEYEARECAAYFAksO1AQACgkQk+oqhfPAZGlzlQCggJu7OCZFeBuw2iGkFjLbmRlK
LRMAnAzd/TLUSwBOHcy3JImmMf7P+oK6
=QEAw
-----END PGP SIGNATURE-----

--Sig_/EForcq=3z7b9.MvifrV2qV4--
Pro-Linux
Pro-Linux @Facebook
Neue Nachrichten
Werbung