CVE-2025-7438
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-7438 is an arbitrary file upload vulnerability in the MasterStudy LMS Pro plugin for WordPress, caused by insufficient file type validation in the install_and_activate_plugin function. It affects all versions up to and including 4.7.9, and was published on July 18, 2025, with Wordfence credited as the assigner. The vulnerability requires at least Subscriber-level authentication and is considered difficult to exploit due to timing requirements and environmental factors. It carries a CVSS v3.1 base score of 7.5 (High) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). The install_and_activate_plugin function in MasterStudy LMS Pro fails to adequately validate the type of files being uploaded, allowing an authenticated attacker with Subscriber-level privileges or higher to upload arbitrary files — including potentially executable PHP scripts — to the server. Exploitation is network-based but involves high attack complexity due to race condition-like timing requirements and specific environmental factors that must align for the upload to succeed and be executed (Wordfence, Red Hat CVE).

Impact

Successful exploitation could allow an authenticated attacker to upload malicious files (e.g., PHP web shells) to the server, potentially enabling remote code execution (RCE). This could result in full compromise of the affected WordPress site, including unauthorized access to sensitive data (confidentiality impact), modification or deletion of site content and files (integrity impact), and disruption of site availability. Lateral movement within the hosting environment is also possible if the attacker achieves RCE (Wordfence).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the time of disclosure. The EPSS score is approximately 0.233%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for at least Subscriber-level authentication and specific timing/environmental conditions, raising the effective attack complexity (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running MasterStudy LMS Pro version 4.7.9 or earlier using tools like WPScan or Shodan, targeting the plugin's presence via known file paths or HTTP responses.
  2. Authentication: Register or obtain a Subscriber-level (or higher) account on the target WordPress site, as the vulnerable function requires authenticated access.
  3. Trigger the vulnerable function: Send a crafted authenticated HTTP request to the WordPress endpoint that invokes the install_and_activate_plugin function, including a malicious file (e.g., a PHP web shell) in the upload payload.
  4. Exploit timing window: Due to the race condition-like nature of the vulnerability, time the request to coincide with the specific environmental conditions required for the file to be written and remain accessible on the server.
  5. Execute uploaded file: Locate the uploaded file on the server (typically within the WordPress uploads or plugin directory) and send an HTTP request to execute it, achieving remote code execution (Wordfence).

Indicators of compromise

  • Network: Unusual authenticated POST requests to WordPress admin or AJAX endpoints invoking install_and_activate_plugin from non-administrative user accounts; outbound connections from the web server to unknown external IPs following plugin-related requests.
  • File System: Unexpected PHP files (e.g., web shells) appearing in the WordPress uploads directory (/wp-content/uploads/) or plugin directories; files with suspicious names or recently modified timestamps inconsistent with normal plugin activity.
  • Logs: WordPress or web server access logs showing POST requests to plugin-related endpoints from low-privilege user accounts; HTTP 200 responses to newly created PHP files in upload directories.
  • Process: Unusual child processes spawned by the web server process (e.g., apache2, nginx, php-fpm) such as bash, curl, wget, or reverse shell processes (Wordfence).

Mitigation and workarounds

Users should update the MasterStudy LMS Pro plugin to version 4.8.0 or later, which addresses the insufficient file type validation in the install_and_activate_plugin function. The official changelog is available from StylemixThemes. As an interim measure, site administrators can restrict Subscriber-level user registrations or disable the plugin until patching is feasible. Implementing a Web Application Firewall (WAF) with rules targeting malicious file upload attempts can also reduce risk (Wordfence, MasterStudy Changelog).

Community reactions

Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for July 14–20, 2025, highlighting it among notable findings for that period. No significant independent researcher commentary or broad media coverage has been identified beyond standard vulnerability database aggregation (Wordfence Weekly Report).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19848MEDIUM6.5
  • wp-user-avatar
NoYesAug 21, 2026
CVE-2026-17559MEDIUM5.3
  • content-protector
NoYesAug 21, 2026
CVE-2026-16650MEDIUM5.3
  • charitable
NoYesAug 21, 2026
CVE-2026-15150MEDIUM5.3
  • mycred
NoYesAug 21, 2026
CVE-2026-18356LOW3.7
  • limit-login-attempts-reloaded
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management