Free and open-source vulnerability scanner
Mageni eases for you the vulnerability scanning, assessment, and management process. It is free and open-source.
Install NowAvailable for macOS, Windows, and Linux
Remote Code Execution in PHP Ping
Information
Severity
Severity
Family
Family
CVSSv2 Base
CVSSv2 Base
CVSSv2 Vector
CVSSv2 Vector
Solution Type
Solution Type
Created
Created
Modified
Modified
Summary
php-ping is a simple php script executing the 'ping' command. A bug in this script allows users to execute arbitrary commands. The problem is based upon the fact that not all user inputs are filtered correctly: although $host is filtered using preg_replace(), the $count variable is passed unfiltered to the system() command.
Solution
Solution
No known solution was made available for at least one year since the disclosure of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer release, disable respective features, remove the product or replace the product by another one.