CVE-2025-24761

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 DSK theme users running versions up to 2.2, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • WordPress DSK Theme
Versions: n/a through 2.2
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with DSK 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 local file inclusion leading to remote code execution, sensitive data exposure, and complete system takeover.

🟠

Likely Case

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

🟢

If Mitigated

Limited impact with proper file permissions, web server sandboxing, and security controls in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP requests can trigger the vulnerability. Public exploit details available in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 2.2

Vendor Advisory: https://patchstack.com/database/wordpress/theme/dsk/vulnerability/wordpress-dsk-2-2-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Update DSK theme to latest version. 2. If update unavailable, disable/remove DSK theme. 3. Install patched version from WordPress repository.

🔧 Temporary Workarounds

Disable DSK Theme

linux

Temporarily disable vulnerable theme until patch can be applied

wp theme deactivate dsk
mv wp-content/themes/dsk wp-content/themes/dsk.disabled

Web Application Firewall Rules

all

Block requests containing local file inclusion patterns

🧯 If You Can't Patch

  • Implement strict file permissions (read-only for web directories)
  • Deploy web application firewall with LFI detection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel for DSK theme version. If version ≤2.2, system is vulnerable.

Check Version:

wp theme list --name=dsk --field=version

Verify Fix Applied:

Verify DSK theme version is >2.2 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in web logs
  • Requests with ../ sequences or file inclusion parameters

Network Indicators:

  • HTTP requests with file inclusion parameters targeting DSK theme endpoints

SIEM Query:

web_access_logs WHERE uri CONTAINS 'dsk' AND (uri CONTAINS '../' OR params CONTAINS 'include' OR params CONTAINS 'require')

🔗 References

📤 Share & Export