CVE-2025-14388

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.
Configurations

No configuration.

History

19 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) El plugin PhastPress para WordPress es vulnerable a Lectura arbitraria de archivos sin autenticación mediante inyección de byte nulo en todas las versiones hasta la versión 3.7 incluida. Esto se debe a una discrepancia entre la validación de la extensión en getExtensionForURL() que opera sobre rutas decodificadas de URL, y appendNormalized() que elimina todo lo que sigue a un byte nulo antes de construir la ruta del sistema de archivos. Esto permite a atacantes no autenticados leer archivos arbitrarios desde la raíz web, incluido wp-config.PHP, añadiendo un byte nulo doblemente codificado en URL (%2500) seguido de una extensión permitida (.txt) a la ruta del archivo.

Information

Published : 2025-12-23 10:15

Updated : 2026-10-19 22:10


NVD link : CVE-2025-14388

Mitre link : CVE-2025-14388

CVE.ORG link : CVE-2025-14388


JSON object : View

Products Affected

No product.

CWE
CWE-158

Improper Neutralization of Null Byte or NUL Character