CVE-2025-2505
Published: 20 March 2025
Description
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Security Summary
CVE-2025-2505, published on 2025-03-20, is a Local PHP File Inclusion (LFI) vulnerability in the Age Gate plugin for WordPress, affecting all versions up to and including 3.5.3. The issue stems from improper handling of the 'lang' parameter, enabling attackers to include and execute arbitrary PHP files on the server. It carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is classified under CWE-22.
Unauthenticated attackers can exploit this vulnerability over the network with low attack complexity and no user interaction. Exploitation allows inclusion and execution of arbitrary PHP files, which can bypass access controls, disclose sensitive data, or lead to code execution—especially in scenarios where images or other "safe" file types are uploadable and can be included.
Wordfence provides threat intelligence on the vulnerability, including exploitation details. A patch is available via WordPress plugin changeset 3258075, and the vulnerable code is visible in the plugin's Settings.php file at line 27.
Details
- CWE(s)
MITRE ATT&CK Enterprise Techniques
Why these techniques?
The CVE describes an unauthenticated remote file inclusion vulnerability in a public-facing WordPress plugin that enables arbitrary PHP code execution over the network, directly mapping to exploitation of public-facing applications for initial access and code execution.