CVE-2004-1063: Critical severity PHP PHP vulnerability

Published Dec 8, 2004
·
Updated

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 safemodeexecdir restrictions and execute commands outside of the intended safemodeexecdir 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.

Affected Software

3 affected components
PHP PHP>=5.0.0<=5.0.2
PHP PHP>=4.0.0<=4.3.9
Ubuntu=4.10

Event History

Dec 8, 2004
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 10, 2005
Rejected
05:00 AM

Frequently Asked Questions

1

What is the severity of CVE-2004-1063?

CVE-2004-1063 is considered to have a moderate severity due to the potential for local users to execute commands outside designated directories.

2

How do I fix CVE-2004-1063?

To fix CVE-2004-1063, users should upgrade to a patched version of PHP that is beyond 4.3.9 or 5.0.2.

3

Who is affected by CVE-2004-1063?

CVE-2004-1063 affects PHP versions 4.x up to 4.3.9 and 5.x up to 5.0.2 when running in safe mode.

4

What systems are vulnerable to CVE-2004-1063?

Vulnerable systems include multithreaded Unix web servers running specific versions of PHP under safe mode.

5

What mitigations exist for CVE-2004-1063?

Mitigations for CVE-2004-1063 include disabling safe mode or applying the latest security patches for affected PHP versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203