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

2025-03-19 00:00
mikemyers

Strategic Overview

Status
Patched in 3.5.4
Affected PluginAge Gate
Affected Version<= 3.5.3
CVSS9.8Critical
CVECVE-2025-2505
View all Age Gate vulnerabilities

Vulnerability Overview

The Age Gate plugin for WordPress is vulnerable to Local PHP File Inclusion in all versions up to, and including, 3.5.3 via the 'lang' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary PHP files on the server, allowing the execution of code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

Technical Analysis

REMEDIATION: Update to version 3.5.4, or a newer patched version --- IDENTIFIER: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C