Skip to content

CVE-2025-14388 PhastPress <= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection

CriticalCVSS 9.8 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
PHPWordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
kiboit PhastPress <= 3.7 after 3.7 Fixed
wordpress phastpress(WordPress) < 3.8 3.8 Fixed

Affected products

ProductAffected versionsFixed in
kiboit PhastPress <= 3.7 No fix listed
wordpress phastpress(WordPress) < 3.8 3.8

References