CVE-2025-32141

8.8 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 sites running MasterStudy LMS plugin versions up to 3.5.23, potentially leading to sensitive file disclosure or remote code execution.

💻 Affected Systems

Products:
  • MasterStudy LMS WordPress Plugin
Versions: n/a through 3.5.23
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version. PHP configuration with allow_url_include disabled may limit impact.

⚠️ 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 site takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials), limited code execution, and potential privilege escalation.

🟢

If Mitigated

Limited impact with proper file permissions, web application firewalls, and restricted PHP functions.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires minimal technical skill. Public proof-of-concept available through security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.5.24 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/masterstudy-lms-learning-management-system/vulnerability/wordpress-masterstudy-lms-plugin-3-5-23-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 MasterStudy LMS plugin. 4. Click 'Update Now' if available. 5. Alternatively, download version 3.5.24+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable endpoints via .htaccess

linux

Block access to vulnerable PHP files using web server configuration

# Add to .htaccess in WordPress root directory
<FilesMatch "\.(php|inc)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>
<Files "specific-vulnerable-file.php">
    Order Allow,Deny
    Deny from all
</Files>

PHP configuration hardening

all

Restrict PHP functions and disable dangerous settings

# Add to php.ini or .user.ini
disable_functions = allow_url_fopen,allow_url_include
open_basedir = /var/www/html/
safe_mode = On

🧯 If You Can't Patch

  • Deploy web application firewall (WAF) with LFI protection rules
  • Implement strict file permissions and disable PHP execution in upload directories

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → MasterStudy LMS version. If version is 3.5.23 or lower, system is vulnerable.

Check Version:

wp plugin list --name=masterstudy-lms --field=version

Verify Fix Applied:

Confirm plugin version is 3.5.24 or higher in WordPress admin panel. Test vulnerable endpoints with controlled payloads.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file include patterns in PHP error logs
  • Requests to plugin files with ../ sequences
  • Access to sensitive system files from web requests

Network Indicators:

  • HTTP requests containing path traversal sequences (../)
  • Requests to plugin PHP files with unusual parameters

SIEM Query:

source="web_server_logs" AND (uri="*masterstudy*" AND (uri="*../*" OR uri="*php*"))

🔗 References

📤 Share & Export