CVE-2025-49941

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 GlamChic theme version 1.0.11 and earlier, potentially leading to sensitive file disclosure or code execution.

💻 Affected Systems

Products:
  • AncoraThemes GlamChic WordPress Theme
Versions: n/a through <= 1.0.11
Operating Systems: All OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable theme version. PHP configuration may affect exploitability.

⚠️ 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

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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

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

all

Switch to default WordPress theme until patch is applied

wp theme activate twentytwentyfour

Restrict PHP include paths

linux

Modify 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://*")

🔗 References

📤 Share & Export