CVE-2025-58995

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 Leblix theme version 2.4 and earlier. Attackers can potentially read sensitive files or execute arbitrary code.

💻 Affected Systems

Products:
  • WordPress Leblix Theme
Versions: All versions up to and including 2.4
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Leblix theme active. PHP configuration with allow_url_include disabled still vulnerable to 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 data exposure, and complete site takeover.

🟠

Likely Case

Information disclosure of sensitive files (configuration files, database credentials, etc.) and limited file system access.

🟢

If Mitigated

Limited impact with proper file permissions and security controls preventing code execution.

🌐 Internet-Facing: HIGH - WordPress themes are typically internet-facing and this vulnerability can be exploited remotely.
🏢 Internal Only: MEDIUM - Internal systems could still be vulnerable if accessible within the network.

🎯 Exploit Status

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

Simple exploitation via crafted HTTP requests. Public proof-of-concept available through security researchers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.5 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/leblix/vulnerability/wordpress-leblix-theme-2-4-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update Leblix theme to version 2.5 or later via WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Click 'Update Now' for Leblix theme. 4. Clear any caching plugins/CDN caches.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to default WordPress theme until patch can be applied

wp theme activate twentytwentyfour

Restrict file access

linux

Set strict file permissions on sensitive directories

chmod 640 wp-config.php
chmod 755 wp-content/themes/leblix

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Disable the Leblix theme and use alternative theme immediately

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for Leblix theme version 2.4 or earlier

Check Version:

wp theme list --field=name,status,version | grep leblix

Verify Fix Applied:

Confirm Leblix theme version is 2.5 or later in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual file include patterns in PHP error logs
  • HTTP requests with file path traversal parameters

Network Indicators:

  • HTTP requests containing 'include', 'require', or file path parameters to theme files

SIEM Query:

web.url:*leblix* AND (web.param:*include* OR web.param:*require* OR web.param:*..*)

🔗 References

📤 Share & Export