CVE-2025-30992

8.1 HIGH

📋 TL;DR

This CVE describes a Local File Inclusion vulnerability in the Puca WordPress theme that allows attackers to include arbitrary local files via improper filename control in PHP include/require statements. Attackers can read sensitive files like configuration files or potentially execute code. All WordPress sites using Puca theme versions up to 2.6.33 are affected.

💻 Affected Systems

Products:
  • Puca WordPress Theme
Versions: n/a through 2.6.33
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Puca 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 website defacement.

🟠

Likely Case

Sensitive file disclosure including database credentials, configuration files, and user data.

🟢

If Mitigated

Limited impact with proper file permissions and web server restrictions preventing file inclusion.

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

🎯 Exploit Status

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

Simple path traversal or file inclusion techniques can exploit this vulnerability. Public exploit details available in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.6.34 or later

Vendor Advisory: https://patchstack.com/database/wordpress/theme/puca/vulnerability/wordpress-puca-2-6-33-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 Puca theme update is available. 4. Update to version 2.6.34 or later. 5. Clear WordPress cache if applicable.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Temporarily switch to default WordPress theme to remove attack surface

wp theme activate twentytwentyfour

Restrict PHP file functions

linux

Add PHP configuration to disable dangerous functions

php_admin_value allow_url_include Off
php_admin_value allow_url_fopen Off

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file permissions and implement strict directory traversal protections

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme version in Appearance > Themes or use: wp theme list --field=name,status,version

Check Version:

wp theme list --field=name,version | grep -i puca

Verify Fix Applied:

Confirm Puca theme version is 2.6.34 or higher using: wp theme list | grep puca

📡 Detection & Monitoring

Log Indicators:

  • Unusual file path patterns in access logs
  • Multiple requests to theme files with ../ patterns
  • Attempts to access wp-config.php or other sensitive files

Network Indicators:

  • HTTP requests containing ../ sequences
  • Requests to theme files with unusual parameters

SIEM Query:

source="web_access_logs" AND (uri="*../*" OR uri="*wp-config*" OR uri="*puca*")

🔗 References

📤 Share & Export