Vulnerabilities · 2004 · Php
CVE-2004-1064
Php vulnerability
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 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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.php.net/release_4_3_10.php · Vendor Advisory
- www.gentoo.org/security/en/glsa/glsa-200412-14.xml · Third Party Advisory
- www.hardened-php.net/advisories/012004.txt · Third Party Advisory
- www.mandriva.com/security/advisories?name=MDKSA-2004:151 · Third Party Advisory
- www.mandriva.com/security/advisories?name=MDKSA-2005:072 · Third Party Advisory
- www.securityfocus.com/advisories/9028 · Third Party Advisory
- www.securityfocus.com/archive/1/384545 · Third Party Advisory
- www.securityfocus.com/bid/11964 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2004-1064
- cve.org/CVERecord?id=CVE-2004-1064
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.