CVE-2025-2505CWE-22

Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'

Critical · published March 20, 2025

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

🚨 A single parameter is the key to a world of trouble! The Age Gate plugin for WordPress, up to version 3.5.3, allows anyone to execute arbitrary PHP files, bypassing your security like a sneaky raccoon in a garbage can. 🔥 Think of this vulnerability like a poorly secured hotel where anyone can walk in and access locked rooms. By simply manipulating the 'lang' parameter, an attacker can include any PHP file without authentication—imagine a guest getting into the manager’s office and rifling through sensitive documents! This could be absolutely devastating! An attacker could not only bypass access controls but also execute malicious code, potentially leading to data breaches or complete system takeovers. Your sensitive data is on the line, and the consequences could range from stolen information to total server compromise.

Put simply

Think of this vulnerability like a poorly secured hotel where anyone can walk in and access locked rooms. By simply manipulating the 'lang' parameter, an attacker can include any PHP file without authentication—imagine a guest getting into the manager’s office and rifling through sensitive documents! The Age Gate plugin is vulnerable to Local PHP File Inclusion (LFI) due to mishandling of the 'lang' parameter in all versions up to 3.5.3. This flaw allows unauthenticated users to include and run arbitrary PHP scripts on the server, opening the door to unauthorized access and execution of harmful code.

What to do

This could be absolutely devastating! An attacker could not only bypass access controls but also execute malicious code, potentially leading to data breaches or complete system takeovers. Your sensitive data is on the line, and the consequences could range from stolen information to total server compromise. To protect your site, immediately update the Age Gate plugin to version 3.5.4 or later. Review your security settings to ensure only trusted files can be included, and conduct a thorough audit of your server for any potential exploitations. Don't wait—act now! You've got this! With a quick update and a solid plan, you can lock down your WordPress site and keep those pesky raccoons at bay! 🛡️

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.04884 · 92.0th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-03-20T07:29Z
EPSS history
Timeline
  • 20 MAR 07:29Z
    Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'
    cvelistv5