WordPress security changelog
CRITICAL CVE-2023-5199 Modified

PHP to Page: Filesystem traversal

PHP to Page is affected by filesystem traversal. Exploitation requires an authenticated WordPress account. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 9.9 CVSS 3.1 · security@wordfence.com
NVD score 8.8 CVSS 3.1 · nvd@nist.gov
Component
PHP to Page
Plugin slug
php-to-page
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Oct 30, 2023
Weakness
CWE-98 — Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
CWE-552 — Files or Directories Accessible to External Parties

This CVE was published Oct 30, 2023 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update PHP to Page to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The PHP to Page plugin for WordPress is vulnerable Local File Inclusion to Remote Code Execution in versions up to, and including, 0.3 via the 'php-to-page' shortcode. This allows authenticated attackers with subscriber-level permissions or above, to include local file and potentially execute code on the server. While subscribers may need to poison log files or otherwise get a file installed in order to achieve remote code execution, author and above users can upload files by default and achieve remote code execution easily.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

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

Primary and upstream sources