CVE-2025-24769

8.1 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through improper filename control in PHP include/require statements. It affects WordPress sites using the BZOTheme Zenny theme from version n/a through 1.7.5, potentially leading to sensitive file disclosure or code execution.

💻 Affected Systems

Products:
  • BZOTheme Zenny WordPress Theme
Versions: n/a through 1.7.5
Operating Systems: Any OS running PHP and WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Zenny theme active. PHP configuration with allow_url_include disabled but local file inclusion still possible.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete server compromise, data exfiltration, and lateral movement within the network.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials, user data) and limited code execution depending on server configuration.

🟢

If Mitigated

Information disclosure limited to readable files within web server permissions.

🌐 Internet-Facing: HIGH - WordPress themes are typically internet-facing and this vulnerability can be exploited remotely.
🏢 Internal Only: MEDIUM - Could be exploited by internal attackers or through compromised internal systems.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Simple HTTP requests can trigger the vulnerability. Public exploit details available on security research sites.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.7.6 or later

Vendor Advisory: https://patchstack.com/database/wordpress/theme/bw-zenny/vulnerability/wordpress-zenny-1-7-5-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check if Zenny theme update is available. 4. Update to version 1.7.6 or later. 5. Alternatively, replace with a different theme.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to a different WordPress theme until patch can be applied

wp theme deactivate zenny
wp theme activate twentytwentyfour

Restrict PHP file inclusion

linux

Add web server rules to block suspicious include patterns

# Apache: RewriteRule ^.*\.php.*include.* - [F,L]
# Nginx: location ~ \.php.*include.* { deny all; }

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block LFI patterns
  • Restrict file system permissions for web server user to limit readable files

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme version in wp-content/themes/zenny/style.css or via WordPress admin panel

Check Version:

grep 'Version' wp-content/themes/zenny/style.css | head -1

Verify Fix Applied:

Confirm Zenny theme version is 1.7.6 or higher in theme details

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests with 'include' or 'require' parameters in query strings
  • Access to sensitive files like /etc/passwd, wp-config.php from web logs

Network Indicators:

  • Unusual file paths in HTTP GET parameters
  • Multiple failed attempts to access system files

SIEM Query:

source="web_access.log" AND (uri="*include=*" OR uri="*require=*") AND status=200

🔗 References

📤 Share & Export