9.8critical
PhastPress <= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection
- Severity
- 9.8critical CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kiboit PhastPress | up to 3.7 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-14388 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2025-14388 changed 2026-10-19 | Public domain |