CVE-2023-5199CWE-98

PHP to Page <= 0.3 - Authenticated (Subscriber+) Local File Inclusion to Remote Code Execution via Shortcode

Critical · published October 30, 2023

CVSS v3.1
9.9
EPSS
1%
Percentile
72.0
In the wild
Unconfirmed
What it is

🚨 A local file inclusion vulnerability in the PHP to Page plugin for WordPress could let attackers execute arbitrary code with surprising ease. 🔥 Think of this like a restaurant where patrons can not only read the menu but also sneak into the kitchen to swap ingredients—an authenticated user could serve up malicious code instead of delicious dishes! If attackers manage to exploit this flaw, they could gain complete control over your server, potentially leading to data breaches, site defacement, or even worse—total system compromise. With subscriber-level access or higher, it’s a dangerously simple road to chaos!

Put simply

Think of this like a restaurant where patrons can not only read the menu but also sneak into the kitchen to swap ingredients—an authenticated user could serve up malicious code instead of delicious dishes! This vulnerability allows authenticated users to leverage the 'php-to-page' shortcode to include local files, facilitating remote code execution on servers running vulnerable versions of the plugin up to 0.3.

What to do

If attackers manage to exploit this flaw, they could gain complete control over your server, potentially leading to data breaches, site defacement, or even worse—total system compromise. With subscriber-level access or higher, it’s a dangerously simple road to chaos! To protect your site, update the PHP to Page plugin immediately to the latest version. Additionally, review user permissions and limit access for subscriber-level accounts to mitigate risks. Daily monitoring of logs for suspicious activity is also a good practice! You've got this! By patching and tightening access, you can secure your site and keep those digital nasty bits at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01383 · 72.0th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2023-10-30T13:48Z
EPSS history
Timeline
  • 30 OCT 13:48Z
    PHP to Page <= 0.3 - Authenticated (Subscriber+) Local File Inclusion to Remote Code Execution via Shortcode
    cvelistv5