CVE-2025-49362

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 Gracioza theme version 1.0.15 and earlier, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • AncoraThemes Gracioza WordPress Theme
Versions: All versions up to and including 1.0.15
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Gracioza theme active. PHP configuration with allow_url_include disabled does not prevent local file inclusion.

⚠️ 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 file disclosure (including configuration files with database credentials), and complete site takeover.

🟠

Likely Case

Sensitive information disclosure (configuration files, source code, system files) 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP requests can trigger the vulnerability. Public exploit details available through security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.16 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/gracioza/vulnerability/wordpress-gracioza-theme-1-0-15-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check for Gracioza theme update notification. 4. Click 'Update Now' for Gracioza theme. 5. Alternatively, download latest version from WordPress theme repository and manually replace files.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to a different WordPress theme until patch can be applied

Restrict PHP file inclusion

linux

Configure PHP to restrict file inclusion paths

php_admin_value open_basedir "/var/www/html:/tmp"
php_admin_value allow_url_include Off

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file system permissions to prevent web server from accessing sensitive files

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for Gracioza theme version. If version is 1.0.15 or earlier, system is vulnerable.

Check Version:

grep -r "Version:" wp-content/themes/gracioza/style.css | head -1

Verify Fix Applied:

After update, verify Gracioza theme version shows 1.0.16 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file path patterns in web server logs (e.g., ../../../etc/passwd)
  • Multiple requests to theme files with parameter manipulation

Network Indicators:

  • HTTP requests containing file inclusion patterns in URL parameters
  • Requests to theme PHP files with unusual parameters

SIEM Query:

source="web_access.log" AND (url="*gracioza*" AND (param="*../*" OR param="*php://*" OR param="*file=*"))

🔗 References

📤 Share & Export