CVE-2025-49369

8.1 HIGH

📋 TL;DR

This CVE describes a PHP Local File Inclusion vulnerability in the Lettuce WordPress theme. Attackers can include arbitrary local files on the server, potentially leading to sensitive information disclosure or code execution. WordPress sites using affected versions of the Lettuce theme are vulnerable.

💻 Affected Systems

Products:
  • AncoraThemes Lettuce WordPress Theme
Versions: All versions up to and including 1.1.7
Operating Systems: Any OS running PHP and WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Lettuce theme active. PHP configuration (allow_url_include) 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 via inclusion of malicious PHP files leading to remote code execution, data theft, and complete site takeover.

🟠

Likely Case

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

🟢

If Mitigated

No impact if proper file permissions restrict access to sensitive files and input validation prevents path traversal.

🌐 Internet-Facing: HIGH - WordPress themes are typically internet-facing and accessible to unauthenticated users.
🏢 Internal Only: MEDIUM - Internal WordPress sites could still be exploited by authenticated users or via other attack vectors.

🎯 Exploit Status

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

Simple path traversal via filename parameter. Public exploit details available in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 1.1.8 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/lettuce/vulnerability/wordpress-lettuce-theme-1-1-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 Lettuce theme update. 4. Update to version 1.1.8 or later. 5. Alternatively, download updated theme from WordPress repository and replace files.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to a different WordPress theme until patch can be applied

wp theme activate twentytwentyfour
wp theme delete lettuce

Restrict file access via .htaccess

linux

Add rules to prevent access to sensitive directories

<FilesMatch "\.(php|inc|conf|sql)$">
  Order Deny,Allow
  Deny from all
</FilesMatch>

🧯 If You Can't Patch

  • Remove or disable the Lettuce theme entirely
  • Implement web application firewall rules to block LFI patterns

🔍 How to Verify

Check if Vulnerable:

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

Check Version:

grep 'Version:' wp-content/themes/lettuce/style.css

Verify Fix Applied:

Confirm Lettuce theme version is 1.1.8 or higher in theme details

📡 Detection & Monitoring

Log Indicators:

  • Unusual file include patterns in PHP error logs
  • Requests with path traversal sequences (../, ..\) in access logs

Network Indicators:

  • HTTP requests with file inclusion parameters containing path traversal

SIEM Query:

web_access_logs WHERE url CONTAINS '..' AND url CONTAINS 'lettuce'

🔗 References

📤 Share & Export