CVE-2025-49255

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 Ruza theme installations running versions up to 1.0.7, potentially enabling attackers to read sensitive files or execute code.

💻 Affected Systems

Products:
  • WordPress Ruza Theme
Versions: n/a through 1.0.7
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Ruza 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

Remote code execution leading to complete system compromise, data exfiltration, and persistent backdoor installation.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials, user data) and limited code execution within web server context.

🟢

If Mitigated

Limited impact with proper file permissions and web server hardening, potentially only file disclosure without code execution.

🌐 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 on security research sites.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.8 or later

Vendor Advisory: https://patchstack.com/database/wordpress/theme/ruza/vulnerability/wordpress-ruza-1-0-7-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 Ruza theme update. 4. Update to version 1.0.8 or later. 5. Clear any caching plugins/CDN caches.

🔧 Temporary Workarounds

Disable Ruza Theme

all

Switch to a different WordPress theme temporarily until patched

wp theme deactivate ruza
wp theme activate twentytwentyfour

Web Application Firewall Rule

linux

Block requests containing local file inclusion patterns

ModSecurity rule: SecRule ARGS "\.\./" "phase:2,deny,status:403,id:1001"

🧯 If You Can't Patch

  • Remove Ruza theme completely from WordPress installation
  • Implement strict file permissions (chmod 644 for PHP files, 755 for directories)

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme version: wp theme list | grep ruza or inspect /wp-content/themes/ruza/style.css Version header

Check Version:

wp theme list | grep ruza || grep 'Version:' /wp-content/themes/ruza/style.css

Verify Fix Applied:

Confirm Ruza theme version is 1.0.8 or higher: wp theme list | grep ruza

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests with ../ patterns in parameters
  • Access to unexpected PHP files in theme directory
  • Failed include/require warnings in PHP error logs

Network Indicators:

  • GET/POST requests with file path traversal in theme-related endpoints
  • Unusual file access patterns from single IP

SIEM Query:

source="web_logs" AND (uri="*ruza*" AND (params="*../*" OR params="*php://*"))

🔗 References

📤 Share & Export