Free and open-source vulnerability scanner

Mageni eases for you the vulnerability scanning, assessment, and management process. It is free and open-source.

Install Now

Available for macOS, Windows, and Linux

App screenshot

Remote Code Execution in PHP Ping

Information

Severity

Severity

Critical

Family

Family

Web application abuses

CVSSv2 Base

CVSSv2 Base

9.3

CVSSv2 Vector

CVSSv2 Vector

AV:N/AC:M/Au:N/C:C/I:C/A:C

Solution Type

Solution Type

Vendor Wont Fix

Created

Created

18 years ago

Modified

Modified

5 years ago

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.