CVE-2025-68068

7.5 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through the Stockholm WordPress theme's PHP code. Attackers can potentially read sensitive files or execute code by manipulating file inclusion parameters. It affects all WordPress sites using the Stockholm theme version 9.14.1 or earlier.

💻 Affected Systems

Products:
  • Select-Themes Stockholm WordPress Theme
Versions: All versions up to and including 9.14.1
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Stockholm 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 server compromise, data theft, and website defacement.

🟠

Likely Case

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

🟢

If Mitigated

Limited impact if file permissions are restrictive and web server runs with minimal privileges.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires finding vulnerable endpoints but is straightforward once identified. Public exploit details available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 9.14.1

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/stockholm/vulnerability/wordpress-stockholm-theme-9-14-1-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 Stockholm theme update notification
4. Click Update Now
5. Verify theme version is greater than 9.14.1

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to a different WordPress theme temporarily

wp theme activate twentytwentyfour

Restrict file access

linux

Add .htaccess rules to block file inclusion attempts

RewriteEngine On
RewriteCond %{QUERY_STRING} (.*)(include|require)(.*) [NC]
RewriteRule .* - [F,L]

🧯 If You Can't Patch

  • Implement web application firewall with LFI protection rules
  • Restrict web server permissions to prevent reading sensitive files

🔍 How to Verify

Check if Vulnerable:

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

Check Version:

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

Verify Fix Applied:

Confirm Stockholm theme version is greater than 9.14.1

📡 Detection & Monitoring

Log Indicators:

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

Network Indicators:

  • HTTP requests containing file inclusion patterns like ?file=../../etc/passwd
  • Unusual traffic to theme PHP files

SIEM Query:

source="web_logs" AND (uri="*stockholm*" AND (query="*include*" OR query="*require*" OR query="*file=*"))

🔗 References

📤 Share & Export