CVE-2025-49363

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 Kings & Queens theme version 1.1.16 and earlier. Attackers can potentially read sensitive files or execute arbitrary code.

💻 Affected Systems

Products:
  • AncoraThemes Kings & Queens WordPress Theme
Versions: n/a through <= 1.1.16
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable theme version. 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 impact due to proper file permissions, disabled dangerous PHP functions, and web application firewall rules blocking suspicious requests.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires sending crafted HTTP requests with file path parameters. Public proof-of-concept available through security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: >1.1.16

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/kings-queens/vulnerability/wordpress-kings-queens-theme-1-1-16-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check if Kings & Queens theme shows update available. 4. Update to latest version. 5. If no update available, replace with alternative theme.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Temporarily switch to default WordPress theme until patch is applied

wp theme activate twentytwentyfour

Web Application Firewall rule

linux

Block requests containing local file inclusion patterns

ModSecurity rule: SecRule ARGS "\.\./" "id:1001,phase:2,deny,status:403,msg:'Local File Inclusion Attempt'

🧯 If You Can't Patch

  • Implement strict file permissions (chmod 644 for PHP files, 755 for directories)
  • Deploy web application firewall with LFI detection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme version in wp-content/themes/kings-queens/style.css or via WordPress admin panel

Check Version:

wp theme list --field=name,status,version | grep kings-queens

Verify Fix Applied:

Verify theme version is >1.1.16 and test with known exploit payloads (monitor logs for blocked attempts)

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests with ../ patterns in parameters
  • PHP warnings about failed file inclusions
  • Access to sensitive files like /etc/passwd in web logs

Network Indicators:

  • Unusual file paths in URL parameters
  • Requests to theme files with parameter manipulation

SIEM Query:

source="web_access.log" AND (uri="*../*" OR uri="*/etc/passwd*" OR uri="*/wp-config.php*")

🔗 References

📤 Share & Export