CVEvulnerability
CVE-2025-14388
9.8 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2025-12-23
- Last modified
- 2026-10-19
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-158
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.
Related
Weakness · CWE (1)
- CWE-158 Improper Neutralization of Null Byte or NUL Character weakness
References
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9570 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9597 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9608 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9641 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3418139 plugins.trac.wordpress.org
- https://www.wordfence.com/threat-intel/vulnerabilities/id/eec9bbc0-5a68-4624-a672-bd6227d6fa45?source=cve www.wordfence.com