CVE-2025-23938
📋 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 running the Image Gallery Box by CRUDLab plugin versions up to 1.0.3, potentially leading to sensitive information disclosure or code execution.
💻 Affected Systems
- Image Gallery Box by CRUDLab WordPress plugin
⚠️ 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 local file inclusion leading to remote code execution, data theft, and complete system takeover.
Likely Case
Sensitive file disclosure (configuration files, passwords, database credentials) and limited code execution within web server context.
If Mitigated
No impact if proper file permissions and web server configurations prevent access to sensitive files.
🎯 Exploit Status
Exploitation requires understanding of PHP local file inclusion techniques and target system file structure.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.0.4 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Image Gallery Box by CRUDLab'. 4. Click 'Update Now' if available. 5. If no update available, deactivate and delete plugin, then install fresh version from WordPress repository.
🔧 Temporary Workarounds
Disable vulnerable plugin
WordPressTemporarily disable the Image Gallery Box plugin until patched
wp plugin deactivate image-gallery-box-by-crudlab
Restrict PHP file functions
PHPConfigure PHP to disable dangerous functions via php.ini
disable_functions = include,require,include_once,require_once
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block file inclusion patterns
- Restrict web server permissions to prevent access to sensitive directories
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Image Gallery Box by CRUDLab version number
Check Version:
wp plugin get image-gallery-box-by-crudlab --field=version
Verify Fix Applied:
Verify plugin version is 1.0.4 or higher in WordPress admin
📡 Detection & Monitoring
Log Indicators:
- Unusual file access patterns in web server logs
- PHP include/require errors with suspicious file paths
Network Indicators:
- HTTP requests with file path traversal patterns in parameters
SIEM Query:
web_access_logs WHERE uri CONTAINS 'include' OR uri CONTAINS 'require' AND (uri CONTAINS '../' OR uri CONTAINS '/etc/' OR uri CONTAINS '/proc/')