CVE-2025-49941
📋 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 GlamChic theme version 1.0.11 and earlier, potentially leading to sensitive file disclosure or code execution.
💻 Affected Systems
- AncoraThemes GlamChic WordPress 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 local file inclusion leading to remote code execution, sensitive data exposure, and complete site takeover.
Likely Case
Sensitive file disclosure (configuration files, database credentials), limited code execution, and potential privilege escalation.
If Mitigated
Limited impact with proper file permissions and security controls, potentially only file disclosure without execution.
🎯 Exploit Status
Simple path traversal techniques can exploit this vulnerability. Public exploit details available.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: >1.0.11
Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/glamchic/vulnerability/wordpress-glamchic-theme-1-0-11-local-file-inclusion-vulnerability?_s_id=cve
Restart Required: No
Instructions:
1. Update GlamChic theme to latest version via WordPress admin panel. 2. Verify theme version is >1.0.11. 3. Clear any caching mechanisms.
🔧 Temporary Workarounds
Disable vulnerable theme
allSwitch to default WordPress theme until patch is applied
wp theme activate twentytwentyfour
Restrict PHP include paths
linuxModify php.ini to restrict allowed include paths
open_basedir = /var/www/html
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block path traversal patterns
- Restrict file permissions and implement strict access controls on sensitive directories
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Appearance > Themes for GlamChic version <=1.0.11
Check Version:
wp theme list --field=name,status,version | grep glamchic
Verify Fix Applied:
Confirm theme version is >1.0.11 in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual file path patterns in access logs
- Multiple failed include attempts
- Requests with ../ patterns
Network Indicators:
- HTTP requests with path traversal payloads
- Unusual file extensions in URLs
SIEM Query:
source="web_access_logs" AND (uri="*../*" OR uri="*php://*" OR uri="*data://*")