Back to list
Arbitrary code execution in eping plugin
Jun 09 2005 04:17PM
y0int yahoo it
www.RedC0de.org found the following error in eping:
Advisory name: Arbitrary code execution in eping plugin
Advisory number: 1
Aplication author: apnovi3
Security-Risk: high - very high
Discovered by: m00fd1 aka Tr|p
Eping is a simple php script executing the ping command,
eping is an plugin for e107 portal system.
Unfortunately a bug allows users to execute arbritary commands.
The problem is based upon the fact that not all user inputs are filtered
correctly. Variable $eping_host is not filtered using preg_replace.
Proof of concept
You must put an evil code in $eping_host variable...
Because an attacker is able to execute any php command, he is able to
read all files including .htaccess or .htpasswd files or any password
protected pages. Depending on system security he might be able to run
any shell command on the server. That is why we are rating this security
issue to high - very high.
[ reply ]
Re: Arbitrary code execution in eping plugin
Jun 10 2005 08:35PM
Oliver Monneke (oliver codersquad de)
Copyright 2010, SecurityFocus