CVE-2004-1063

PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir…

published December 8, 2004

CVSS
—
EPSS
4%
Percentile
90.8
In the wild
Unconfirmed
What it is

⚠️ Local users can be a real wildcard! On certain versions of PHP, clever usage of shell metacharacters lets them bypass safe mode restrictions, executing commands from anywhere. 🔥 Think of it like a restaurant where patrons can sneak into the kitchen through a side door, using a special code that masks their true intent — they could whip up a disaster if left unchecked! An attacker could potentially run malicious commands on the server, leading to unauthorized access, data exposure, or even full system compromise. This could be absolutely devastating for any server relying on proper isolation between users!

Put simply

Think of it like a restaurant where patrons can sneak into the kitchen through a side door, using a special code that masks their true intent — they could whip up a disaster if left unchecked! This vulnerability in PHP versions 4.x (up to 4.3.9) and 5.x (up to 5.0.2) allows local users to exploit safe mode by crafting directory names with shell metacharacters, allowing them to execute commands outside the intended safe mode execution directory.

What to do

An attacker could potentially run malicious commands on the server, leading to unauthorized access, data exposure, or even full system compromise. This could be absolutely devastating for any server relying on proper isolation between users! To mitigate this risk, consider upgrading to a safer version of PHP that has resolved this issue, ideally moving beyond 5.0.2. Additionally, review your server configuration and consider implementing stricter user permissions to further isolate users from each other. 🛡️ You've got this! Stay proactive and secure, and don't let this vulnerability catch you off guard! 💪✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04181 · 90.8th percentile
Published
2004-12-08T05:00Z
EPSS history
Timeline
  • 08 DEC 05:00Z
    PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir…
    cvelistv5