{"id":"CVE-2004-1063","aliases":["EUVD-2004-1061","GHSA-8w9g-f9jw-3mqv"],"status":"published","title":"PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix...","description":"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 restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name.  NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.  This candidate may change significantly in the future as a result of further discussion.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04181,"percentile":0.90987,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2004-12-08T05:00:00Z","modified":"2026-06-16T22:06:56Z","products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"php","product":"php"}],"references":[{"url":"http://www.osvdb.org/12412","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:072","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/11964","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18511","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.php.net/release_4_3_10.php","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","Third Party Advisory"]},{"url":"http://www.hardened-php.net/advisories/012004.txt","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000915","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","Broken Link"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/384545","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/advisories/9028","tags":["vendor-advisory","x_refsource_HP","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://www.ubuntu.com/usn/usn-99-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1063"},{"url":"https://www.ubuntu.com/usn/usn-99-1"},{"url":"https://github.com/advisories/GHSA-8w9g-f9jw-3mqv"}],"sources":{"cve":[{"id":"CVE-2004-1063","description":"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 restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name.  NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.  This candidate may change significantly in the future as a result of further discussion.","status":"published","published":"2004-12-08T05:00:00Z","modified":"2024-08-08T00:39:00.858Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-1061","description":"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 restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name.  NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.  This candidate may change significantly in the future as a result of further discussion.","status":"published","published":"2004-12-08T05:00:00Z","modified":"2024-08-08T00:39:00Z","updated_at":"2026-11-03T01:15:16.711153Z"}],"ghsa":[{"id":"GHSA-8w9g-f9jw-3mqv","title":"PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix...","description":"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 restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name.  NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.  This candidate may change significantly in the future as a result of further discussion.","status":"published","published":"2022-04-29T02:58:51Z","modified":"2025-04-03T04:07:10Z","updated_at":"2026-11-02T15:00:40.646262Z"}],"nvd":[{"id":"CVE-2004-1063","description":"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 restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name.  NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.  This candidate may change significantly in the future as a result of further discussion.","status":"published","published":"2005-01-10T05:00:00Z","modified":"2026-06-16T22:06:56.417Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.133049Z"}]}}
