CVE-2025-31912

8.1 HIGH

📋 TL;DR

This vulnerability allows attackers to include arbitrary local files through PHP's include/require statements in the Enzio WordPress theme. Attackers can potentially read sensitive files or execute code by manipulating file paths. All WordPress sites using Enzio theme versions up to 1.1.8 are affected.

💻 Affected Systems

Products:
  • Enzio - Responsive Business WordPress Theme
Versions: n/a through 1.1.8
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Enzio theme active. PHP configuration may affect exploitability.

⚠️ 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 site compromise, data theft, and server takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials) and limited code execution.

🟢

If Mitigated

No impact if theme is patched or file inclusion is blocked by server configuration.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP requests can trigger the vulnerability. Public exploit details available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.1.9 or later

Vendor Advisory: https://patchstack.com/database/wordpress/theme/enzio/vulnerability/wordpress-enzio-responsive-business-wordpress-theme-1-1-8-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Update Enzio theme to version 1.1.9 or later. 4. Clear cache if using caching plugins.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to a different WordPress theme temporarily

Restrict PHP file functions

linux

Configure PHP to disable dangerous functions

php_admin_value open_basedir /var/www/html
php_admin_value allow_url_include Off

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file permissions and implement strict access controls on sensitive directories

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for Enzio theme version 1.1.8 or earlier

Check Version:

wp theme list --field=name,version --path=/var/www/html

Verify Fix Applied:

Confirm Enzio theme version is 1.1.9 or later in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual PHP include/require errors in web server logs
  • Requests with suspicious file path parameters

Network Indicators:

  • HTTP requests containing file path traversal patterns
  • Unexpected file downloads from web server

SIEM Query:

source="web_server" AND ("include" OR "require") AND (".." OR "/etc/" OR "/proc/")

🔗 References

📤 Share & Export