CVE-2000-0059

PHP3 with safe_mode enabled does not properly filter shell metacharacters from commands that are executed by popen, which could allow remote attackers to…

published February 4, 2000

CVSS
—
EPSS
11%
Percentile
95.9
In the wild
Unconfirmed
What it is

⚠️ PHP3 is playing fast and loose! With safe_mode on, it doesn't properly filter shell metacharacters, which could leave the door open for attackers to sneak in commands. 😱 Think of it as a restaurant that takes reservations but doesn’t check what the customer orders — a diner could order anything from the menu, including secret chef specials they shouldn't have access to! This vulnerability could allow a remote attacker to execute any command on the server, potentially leading to unauthorized access and control over sensitive data. Imagine someone slipping into the kitchen, messing with the recipe, or even shutting down the whole operation!

Put simply

Think of it as a restaurant that takes reservations but doesn’t check what the customer orders — a diner could order anything from the menu, including secret chef specials they shouldn't have access to! With safe_mode enabled, PHP3 fails to adequately filter out dangerous shell metacharacters when executing commands through popen, making it possible for attackers to inject their own commands.

What to do

This vulnerability could allow a remote attacker to execute any command on the server, potentially leading to unauthorized access and control over sensitive data. Imagine someone slipping into the kitchen, messing with the recipe, or even shutting down the whole operation! To mitigate this issue, it's crucial to upgrade to a more recent version of PHP where this vulnerability is addressed. Additionally, consider disabling popen() if it's not essential for your application. Always review your code for insecure command executions! You've got this! With these fixes, your PHP environment will be safer and sounder than ever! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.10924 · 95.9th percentile
Published
2000-02-04T05:00Z
EPSS history
Timeline
  • 04 FEB 05:00Z
    PHP3 with safe_mode enabled does not properly filter shell metacharacters from commands that are executed by popen, which could allow remote attackers to…
    cvelistv5