CVE-2025-49070

7.5 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 all versions of the NasaTheme Elessi WordPress theme, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • NasaTheme Elessi WordPress Theme
Versions: All versions up to 6.4.1
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Elessi theme active. PHP configuration with allow_url_include disabled does not prevent local file inclusion.

⚠️ 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

Full server compromise through local file inclusion leading to remote code execution, sensitive file access (like /etc/passwd, configuration files), and complete website takeover.

🟠

Likely Case

Sensitive information disclosure (database credentials, configuration files), limited file system access, and potential privilege escalation.

🟢

If Mitigated

Limited impact with proper file permissions and security controls, potentially only revealing non-sensitive files.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires knowledge of file paths but is straightforward with directory traversal techniques.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 6.4.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/theme/elessi-theme/vulnerability/wordpress-elessi-6-4-1-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update Elessi theme to version 6.4.2 or later via WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Click 'Update Now' for Elessi theme. 4. Verify update completion.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Temporarily switch to default WordPress theme until patch is applied

Restrict file permissions

linux

Set strict file permissions on sensitive directories and configuration files

chmod 600 wp-config.php
chmod 755 wp-content/themes/elessi

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block directory traversal attempts
  • Disable PHP error reporting and limit file system access through php.ini configuration

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel under Appearance > Themes for Elessi theme version 6.4.1 or earlier

Check Version:

grep -r 'Version:' wp-content/themes/elessi/style.css

Verify Fix Applied:

Verify Elessi theme version is 6.4.2 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in PHP error logs
  • HTTP requests with directory traversal sequences (../, ..\)
  • Multiple failed include/require attempts

Network Indicators:

  • HTTP requests containing '..' sequences in parameters
  • Requests to theme files with unusual parameters

SIEM Query:

source="web_server" AND (uri="*..*" OR uri="*%2e%2e*") AND (uri="*elessi*" OR uri="*theme*")

🔗 References

📤 Share & Export