Greenify WordPress Theme CVE-2025-58994
HIGHSeverity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
5DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in designervily Greenify greenify allows PHP Local File Inclusion.This issue affects Greenify: from n/a through <= 2.2.
AnalysisAI
Local file inclusion vulnerability in Greenify WordPress theme (versions through 2.2) enables remote attackers to read arbitrary files from the web server filesystem, potentially exposing sensitive configuration files, credentials, and application source code. Exploitation requires specific conditions despite the network attack vector, reflected in the high attack complexity (AC:H) rating. EPSS score of 0.08% (23rd percentile) suggests low probability of mass exploitation, and no active exploitation has been confirmed via CISA KEV, though Patchstack has documented the vulnerability details.
Technical ContextAI
This vulnerability stems from improper validation of file paths in PHP include/require statements (CWE-98). The Greenify WordPress theme fails to sanitize user-controlled input before passing it to file inclusion functions, allowing attackers to manipulate the file path parameter. While classified as 'PHP Remote File Inclusion' in the vulnerability type, the actual exploitation is Local File Inclusion (LFI), meaning attackers can read files already present on the server rather than inject remote code. This discrepancy between the vulnerability name and actual behavior is common in WordPress theme vulnerabilities where allow_url_include is typically disabled in modern PHP configurations. The affected product is a WordPress theme (not a plugin), which means the vulnerable code executes within the WordPress rendering context with web server privileges.
Affected ProductsAI
The vulnerability affects the Greenify WordPress theme developed by designervily, specifically all versions from the initial release through version 2.2. According to the CPE data and Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/greenify/vulnerability/wordpress-greenify-theme-2-2-local-file-inclusion-vulnerability, version 2.2 is confirmed vulnerable. Organizations should verify their installed theme version through the WordPress admin panel under Appearance > Themes. The advisory does not specify a minimum affected version, suggesting all historical versions contain this flaw.
RemediationAI
Immediately upgrade to a patched version of the Greenify theme if available by checking the theme developer's website or WordPress theme repository for updates beyond version 2.2. Consult the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/greenify/vulnerability/wordpress-greenify-theme-2-2-local-file-inclusion-vulnerability for the latest remediation guidance. If no patched version exists, switch to an alternative WordPress theme from a reputable developer with active security maintenance. As an interim compensating control, implement Web Application Firewall (WAF) rules to block requests containing directory traversal sequences (../, ..\ , %2e%2e%2f) in URL parameters, though this may break legitimate theme functionality requiring file path parameters. Restrict file system permissions on sensitive configuration files like wp-config.php to prevent read access by the web server user where possible, though this may impact WordPress core functionality. Monitor web server access logs for suspicious requests containing encoded traversal attempts or references to sensitive filenames. These workarounds reduce but do not eliminate risk, so theme replacement remains the definitive solution.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-98 – PHP Remote File Inclusion
View allShare
External POC / Exploit Code
Leaving vuln.today