Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200911-06 ] PEAR Net_Traceroute: Command injection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Thu Nov 26, 2009 8:26 pm    Post subject: [ GLSA 200911-06 ] PEAR Net_Traceroute: Command injection Reply with quote

Gentoo Linux Security Advisory

Title: PEAR Net_Traceroute: Command injection (GLSA 200911-06)
Severity: high
Exploitable: remote
Date: November 26, 2009
Bug(s): #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: dev-php/PEAR-Net_Traceroute
Vulnerable: < 0.21.2
Unaffected: >= 0.21.2
Architectures: All supported architectures


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:
Code:
# emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-php/PEAR-Net_Traceroute-0.21.2"


References

CVE-2009-4025


Last edited by GLSA on Sun May 11, 2014 4:29 am; edited 4 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum