WordPress Plugin Vulnerabilities
PhastPress < 3.8 - Unauthenticated Arbitrary File Read via Null Byte Injection
Description
The plugin is vulnerable to Unauthenticated Arbitrary File Read via null byte injection 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.
Affects Plugins
References
Classification
Type
FILE DOWNLOAD
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
shark3y
Verified
No
WPVDB ID
Timeline
Publicly Published
2025-12-22 (about 6 months ago)
Added
2025-12-22 (about 6 months ago)
Last Updated
2025-12-22 (about 6 months ago)