01 Record
CVE-2004-1064
The safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could allow attackers to bypass safe mode. NOTE: this issue
UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector
02 Description
The safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could allow attackers to bypass safe mode. NOTE: this issue
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.73% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 89.3% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-16.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2004-12-08 05:00Z21 YR AGO
- Last updated
- 2024-08-08 00:39Z2 YR AGO
- Reserved
- 2004-11-23
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- No CWE assigned
- Data version
- 5.1
- Document digest
- b5793a53f4894b27ecf3ba454a5918ebf52e34193d102eb095fb196b53f90e43
05 Affected products
06 References
- www.mandriva.comMDKSA-2005:072http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
- www.securityfocus.com11964http://www.securityfocus.com/bid/11964
- www.php.nethttp://www.php.net/release_4_3_10.php
- www.mandriva.comMDKSA-2004:151http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- www.hardened-php.nethttp://www.hardened-php.net/advisories/012004.txt
- exchange.xforce.ibmcloud.comphp-realpath-safemode-bypass(18512)https://exchange.xforce.ibmcloud.com/vulnerabilities/18512
- distro.conectiva.com.brCLA-2005:915http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- www.gentoo.orgGLSA-200412-14http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml
- www.securityfocus.com20041215 Advisory 01/2004: Multiple vulnerabilities in PHP 4/5http://www.securityfocus.com/archive/1/384545
- www.ubuntu.comUSN-99-2https://www.ubuntu.com/usn/usn-99-2/
- www.securityfocus.comHPSBMA01212http://www.securityfocus.com/advisories/9028
- www.ubuntu.comUSN-99-1https://www.ubuntu.com/usn/usn-99-1/