CVE-2025-60126

8.8 HIGH

📋 TL;DR

This CVE describes a PHP Local File Inclusion vulnerability in the WordPress Testimonial Slider plugin. Attackers can exploit improper filename control in include/require statements to read sensitive files on the server. WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress Testimonial Slider plugin
Versions: n/a through 3.5.8.6
Operating Systems: Any OS running PHP and WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin 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

Complete server compromise via reading sensitive files like /etc/passwd, database credentials, or executing arbitrary code by including malicious files.

🟠

Likely Case

Information disclosure of sensitive server files, potentially leading to credential theft and further exploitation.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH - WordPress plugins are typically internet-facing and this vulnerability requires no authentication.
🏢 Internal Only: MEDIUM - Internal systems could still be vulnerable if the plugin is installed, though attack surface is reduced.

🎯 Exploit Status

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

Simple path traversal techniques can exploit this vulnerability. Public proof-of-concept exists in vulnerability databases.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 3.5.8.6

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/testimonial-add/vulnerability/wordpress-testimonial-slider-plugin-3-5-8-6-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Testimonial Slider' and update to latest version. 4. Verify update completed successfully.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the Testimonial Slider plugin until patched

wp plugin deactivate testimonial-slider

Restrict file access

linux

Configure web server to restrict access to sensitive directories

# In Apache: <Directory /path/to/wordpress/wp-content/plugins/testimonial-slider>\n    Deny from all\n</Directory>
# In Nginx: location ~* /wp-content/plugins/testimonial-slider/ { deny all; }

🧯 If You Can't Patch

  • Remove the Testimonial Slider plugin completely from production systems
  • Implement web application firewall rules to block requests containing path traversal patterns

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Testimonial Slider version. If version is 3.5.8.6 or earlier, system is vulnerable.

Check Version:

wp plugin get testimonial-slider --field=version

Verify Fix Applied:

Verify plugin version is higher than 3.5.8.6 and test LFI attempts return proper errors instead of file contents.

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests containing '../' patterns to plugin endpoints
  • Unusual file access attempts in web server logs
  • Requests to wp-content/plugins/testimonial-slider with file parameters

Network Indicators:

  • HTTP requests with path traversal sequences in query parameters
  • Unusual file extensions requested from plugin directories

SIEM Query:

source="web_server_logs" AND (uri="*testimonial-slider*" AND (query="*../*" OR query="*..\\*"))

🔗 References

📤 Share & Export