CRITICAL
CVE-2004-1064
NVD-CWE-noinfoPublished: January 10, 2005· Updated: Jun 16, 2026
10.0
CVSS v3.1
Official 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 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.
Technical Analysis
CVE-2004-1064 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityC
IntegrityC
AvailabilityC
AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (24)
→
http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlThird Party Advisory
→
http://www.hardened-php.net/advisories/012004.txtThird Party Advisory
→
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151Third Party Advisory
→
http://www.mandriva.com/security/advisories?name=MDKSA-2005:072Third Party Advisory
→
http://www.php.net/release_4_3_10.phpRelease Notes · Vendor Advisory
→
http://www.securityfocus.com/advisories/9028Third Party Advisory · VDB Entry
→
http://www.securityfocus.com/archive/1/384545Third Party Advisory · VDB Entry
→
http://www.securityfocus.com/bid/11964Third Party Advisory · VDB Entry
→
https://exchange.xforce.ibmcloud.com/vulnerabilities/18512Third Party Advisory · VDB Entry
→
https://www.ubuntu.com/usn/usn-99-1/Third Party Advisory
→
https://www.ubuntu.com/usn/usn-99-2/Third Party Advisory
→
http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlThird Party Advisory
→
http://www.hardened-php.net/advisories/012004.txtThird Party Advisory
Quick Facts
CVE IDCVE-2004-1064
CVSS Score10.0 / 10
SeverityCRITICAL
WeaknessNVD-CWE-noinfo
CISA KEVNo
Affected2 vendor(s)
PublishedJan 10, 2005
Related CVEs (NVD-CWE-noinfo)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2004-1064 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.