CVE-2000-0059: Critical severity PHP PHP vulnerability
PHP3 with safemode enabled does not properly filter shell metacharacters from commands that are executed by popen, which could allow remote attackers to execute commands.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable safe_mode in php.ini (set safe_mode = Off) because PHP3 with safe_mode enabled does not properly filter shell metacharacters for commands executed by popen.
PHP (php.ini) safe_mode = Off - Configuration
Prevent use of popen by adding it to disable_functions in php.ini (e.g., add 'popen') to avoid execution of shell commands via popen.
PHP (php.ini) disable_functions = include popen
Event History
Frequently Asked Questions
What is the severity of CVE-2000-0059?
CVE-2000-0059 has a high severity rating due to its potential to allow remote command execution.
How do I fix CVE-2000-0059?
To mitigate CVE-2000-0059, upgrade PHP to a version newer than 3.0.13 where the issue is resolved.
What versions of PHP are affected by CVE-2000-0059?
PHP versions 3.0 through 3.0.13 are affected by CVE-2000-0059.
Is CVE-2000-0059 related to safe_mode in PHP?
Yes, CVE-2000-0059 specifically involves PHP's safe_mode failing to filter shell metacharacters.
Can CVE-2000-0059 be exploited remotely?
Yes, CVE-2000-0059 can be exploited by remote attackers to execute unauthorized commands.