CVE-2025-68530
📋 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
- WordPress Bookory Theme
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
allTemporarily switch to default WordPress theme until patched
Restrict PHP File Functions
linuxModify 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="*../*")