CVE-2025-64205

8.2 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through improper filename control in PHP's include/require statements. It affects WordPress sites using the Jannah theme, potentially leading to sensitive information disclosure or code execution. All Jannah theme users with versions up to and including 7.6.0 are vulnerable.

💻 Affected Systems

Products:
  • TieLabs Jannah WordPress Theme
Versions: All versions through 7.6.0
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Jannah 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, database credentials), and complete site takeover.

🟠

Likely Case

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

🟢

If Mitigated

Limited impact with proper file permissions, web server restrictions, and security controls in place.

🌐 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 through security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 7.6.1 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/jannah/vulnerability/wordpress-jannah-theme-7-6-0-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check for Jannah theme updates. 4. Update to version 7.6.1 or later. 5. Clear any caching plugins.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Temporarily switch to default WordPress theme until patch is applied

wp theme activate twentytwentyfour

Restrict PHP file inclusion

linux

Add .htaccess rules to restrict file inclusion patterns

RewriteEngine On
RewriteCond %{QUERY_STRING} (.*)(include|require)(.*)\.php [NC]
RewriteRule .* - [F,L]

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file system permissions and disable unnecessary PHP functions via php.ini

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel under Appearance > Themes for Jannah theme version. If version is 7.6.0 or earlier, system is vulnerable.

Check Version:

wp theme list --name=jannah --field=version

Verify Fix Applied:

Verify Jannah theme version is 7.6.1 or later in WordPress admin panel. Test with known safe LFI payloads to confirm remediation.

📡 Detection & Monitoring

Log Indicators:

  • Unusual include/require statements in PHP error logs
  • HTTP requests with file path parameters like ?file=../../../etc/passwd
  • Multiple 404 errors for non-existent PHP files

Network Indicators:

  • HTTP requests containing path traversal sequences (../)
  • Requests to theme files with unusual parameters
  • Abnormal file access patterns from single IPs

SIEM Query:

source="web_logs" AND (uri="*include*" OR uri="*require*") AND (query="*../*" OR query="*file=*")

🔗 References

📤 Share & Export