CVE-2025-39406CWE-98

WordPress WPAMS plugin <= 44.0 - Local File Inclusion to Privilege Escalation vulnerability

Critical · published May 19, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
44.1
In the wild
Unconfirmed
What it is

🔥 A single unvalidated filename can lead to complete chaos! An attacker could leverage this flaw to include any local file on your server – yikes! 😱 Think of this like a hotel with a front desk that automatically opens any door the guest requests, without checking if it’s a room or the maintenance closet. If someone knows the right name, they could access sensitive information or even replace important files! An attacker could exploit this vulnerability to read sensitive files, execute arbitrary PHP code, or even take over your whole server. This isn't just a minor hiccup; it's an open invitation for total chaos in your apartment-management system!

Put simply

Think of this like a hotel with a front desk that automatically opens any door the guest requests, without checking if it’s a room or the maintenance closet. If someone knows the right name, they could access sensitive information or even replace important files! This vulnerability in mojoomla WPAMS (up to version 44.0) allows for Local File Inclusion (LFI) due to improper control of filenames in PHP include/require statements, making it easy for attackers to load unauthorized files.

What to do

An attacker could exploit this vulnerability to read sensitive files, execute arbitrary PHP code, or even take over your whole server. This isn't just a minor hiccup; it's an open invitation for total chaos in your apartment-management system! Immediately patch to a secure version greater than 44.0. Review your code to properly validate and sanitize any user inputs regarding file inclusion to prevent unauthorized access. Also, consider implementing strict access controls on sensitive directories. You've got this! Follow these steps, and you'll have your system secure in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00532 · 44.1th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-05-19T19:07Z
EPSS history
Timeline
  • 19 MAY 19:07Z
    WordPress WPAMS plugin <= 44.0 - Local File Inclusion to Privilege Escalation vulnerability
    cvelistv5