CVE-2025-68530

9.8 CRITICAL

📋 TL;DR

This CVE describes a PHP Local File Inclusion vulnerability in the Bookory WordPress theme. Attackers can include arbitrary local files through improper filename control in include/require statements, potentially leading to code execution. All WordPress sites using Bookory theme versions up to and including 2.2.7 are affected.

💻 Affected Systems

Products:
  • WordPress Bookory Theme
Versions: n/a through <= 2.2.7
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Bookory theme active. No special configuration needed.

⚠️ 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 remote code execution, data theft, and complete site takeover.

🟠

Likely Case

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

🟢

If Mitigated

Unauthorized file access prevented, but potential for information disclosure if other vulnerabilities exist.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires web server access but no authentication. Public proof-of-concept available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: >2.2.7

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

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Update Bookory theme to latest version. 4. Verify theme version is >2.2.7.

🔧 Temporary Workarounds

Disable Bookory Theme

all

Temporarily switch to default WordPress theme until patched

Restrict PHP File Functions

linux

Modify php.ini to disable dangerous functions

disable_functions = include,require,include_once,require_once

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block LFI patterns
  • Restrict file system permissions and implement strict file inclusion validation

🔍 How to Verify

Check if Vulnerable:

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

Check Version:

grep 'Version' wp-content/themes/bookory/style.css

Verify Fix Applied:

Confirm Bookory theme version is >2.2.7 in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual file path patterns in access logs
  • Multiple include/require attempts with path traversal

Network Indicators:

  • HTTP requests with file inclusion parameters
  • Unusual file path patterns in URLs

SIEM Query:

source="web_access_logs" AND (url="*include*" OR url="*require*" OR url="*../*")

🔗 References

📤 Share & Export