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 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:072 (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:151 (vendor-advisory)
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915 (vendor-advisory)
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml (vendor-advisory)
- http://www.securityfocus.com/advisories/9028 (vendor-advisory)
- https://www.ubuntu.com/usn/usn-99-1/ (vendor-advisory)
References
- http://www.osvdb.org/12412
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
- http://www.securityfocus.com/bid/11964
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18511
- http://www.php.net/release_4_3_10.php
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- http://www.hardened-php.net/advisories/012004.txt
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml
- http://www.securityfocus.com/archive/1/384545
- http://www.securityfocus.com/advisories/9028
- https://www.ubuntu.com/usn/usn-99-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.