Home

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.

PUBLISHED Reserved 2025-12-09 | Published 2025-12-23 | Updated 2025-12-23 | Assigner Wordfence




CRITICAL: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-158 Improper Neutralization of Null Byte or NUL Character

Product status

Default status
unaffected

* (semver)
affected

Timeline

2025-12-11:Vendor Notified
2025-12-22:Disclosed

Credits

Angus Girvan finder

References

www.wordfence.com/...-5a68-4624-a672-bd6227d6fa45?source=cve

plugins.trac.wordpress.org/...stpress/tags/3.6/sdk/phast.php

plugins.trac.wordpress.org/...stpress/tags/3.6/sdk/phast.php

plugins.trac.wordpress.org/...stpress/tags/3.6/sdk/phast.php

plugins.trac.wordpress.org/...stpress/tags/3.6/sdk/phast.php

plugins.trac.wordpress.org/changeset/3418139

cve.org (CVE-2025-14388)

nvd.nist.gov (CVE-2025-14388)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.