CVE-2025-49360

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 Militarology theme version 1.0.15 and earlier. Attackers can potentially read sensitive files or execute arbitrary code.

💻 Affected Systems

Products:
  • WordPress Militarology Theme
Versions: <= 1.0.15
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Militarology 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 arbitrary code execution leading to data theft, ransomware deployment, or complete system takeover.

🟠

Likely Case

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

🟢

If Mitigated

Limited information disclosure if file permissions are properly configured and web server runs with minimal privileges.

🌐 Internet-Facing: HIGH - WordPress themes are typically exposed to the internet, making exploitation trivial for unauthenticated attackers.
🏢 Internal Only: MEDIUM - Internal attackers could still exploit this, but external exposure significantly increases risk.

🎯 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/militarology/vulnerability/wordpress-militarology-theme-1-0-15-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update Militarology theme to version 1.0.16 or later via WordPress admin panel. 2. Verify theme files have been replaced. 3. Clear any caching mechanisms.

🔧 Temporary Workarounds

Disable Militarology Theme

all

Switch to a different WordPress theme until patch can be applied

wp theme deactivate militarology
wp theme activate twentytwentyfour

Restrict PHP File Functions

all

Use PHP configuration to disable dangerous functions

Add to 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 reading sensitive files

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme version in Appearance > Themes or run: wp theme list --field=name,version | grep militarology

Check Version:

wp theme list --field=name,version | grep militarology

Verify Fix Applied:

Confirm theme version is 1.0.16+ and test file inclusion attempts return errors instead of file contents

📡 Detection & Monitoring

Log Indicators:

  • Unusual file paths in PHP error logs
  • Multiple requests with ../ patterns
  • Requests to theme files with unexpected parameters

Network Indicators:

  • HTTP requests containing file inclusion patterns (../../etc/passwd)
  • Unusual traffic to theme PHP files

SIEM Query:

web.url:*militarology* AND (web.querystring:*..* OR web.querystring:*include* OR web.querystring:*require*)

🔗 References

📤 Share & Export