{"id":"CVE-2025-14388","state":"PUBLISHED","title":"PhastPress <= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection","description":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path.","publishedAt":"2025-12-23T09:20:03.420Z","updatedAt":"2026-04-08T17:31:49.693Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Wordfence"},"assigner":"Wordfence","products":["kiboit PhastPress"],"affected":[{"vendor":"kiboit","product":"PhastPress","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.7","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/eec9bbc0-5a68-4624-a672-bd6227d6fa45?source=cve","https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9641","https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9608","https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9570","https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9597","https://plugins.trac.wordpress.org/changeset/3418139"],"weaknesses":["CWE-158"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/14xxx/CVE-2025-14388.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-14388","state":"PUBLISHED","datePublished":"2025-12-23T09:20:03.420Z","dateUpdated":"2026-04-08T17:31:49.693Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2025-12-09T20:27:24.165Z"},"containers":{"cna":{"title":"PhastPress <= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection","descriptions":[{"lang":"en","value":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path."}],"affected":[{"vendor":"kiboit","product":"PhastPress","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.7","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/eec9bbc0-5a68-4624-a672-bd6227d6fa45?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9641"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9608"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9570"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9597"},{"url":"https://plugins.trac.wordpress.org/changeset/3418139"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-158","lang":"en","description":"CWE-158 Improper Neutralization of Null Byte or NUL Character","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T17:31:49.693Z"},"credits":[{"lang":"en","type":"finder","value":"Angus Girvan"}],"timeline":[{"time":"2025-12-11T19:39:08.000Z","lang":"en","value":"Vendor Notified"},{"time":"2025-12-22T00:00:00.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-23T15:23:48.390593Z","id":"CVE-2025-14388","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-23T15:23:55.604Z"}}]}}}