CVE-2004-1063

Summary

CVECVE-2004-1063
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2005-01-10 05:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionPHP 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.

Risk And Classification

Primary CVSS: v2.0 10 from [email protected]

AV:N/AC:L/Au:N/C:C/I:C/A:C

Problem Types: NVD-CWE-noinfo | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 4.10 All All All
Application Php Php All All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Hardened PHP - Hardened-PHP af854a3a-2127-422b-91ae-364da2661108 www.hardened-php.net Third Party Advisory
PHP Multiple Local And Remote Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
PHP: PHP 4.3.10 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net Release Notes, Vendor Advisory
Advisories - Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
www.osvdb.org/12412 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org Third Party Advisory
usn/usn-99-1 - Ubuntu Linux af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
Advisories - Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
Home - Conectiva af854a3a-2127-422b-91ae-364da2661108 distro.conectiva.com.br Broken Link
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
www.securityfocus.com/advisories/9028 af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-10-30Tomas HogerWe do not consider safe_mode / open_basedir restriction bypass issues being security sensitive. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php

© 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