CVE-2024-4397
Published: 14 May 2024
Summary
CVE-2024-4397 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Thimpress Learnpress. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 7.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The LearnPress – WordPress LMS Plugin for WordPress is vulnerable to arbitrary file uploads in versions up to and including 4.2.6.5. The flaw stems from missing file type validation in the save_post_materials function within the REST API material controller, allowing unrestricted uploads of files with dangerous types as indicated by CWE-434. This affects any WordPress site running the plugin with the vulnerable code path active.
Authenticated attackers holding Instructor-level permissions or higher can exploit the issue over the network without user interaction. Successful exploitation permits uploading arbitrary files to the server, which can lead to remote code execution and full compromise of the affected site given the CVSS 8.8 rating.
Public references include WordPress plugin repository changesets that address the vulnerability through code updates, along with detailed analysis from Wordfence confirming the root cause in the affected REST endpoint. Site administrators should apply the available plugin update or implement file upload restrictions until patched.
The EPSS score rose from a low baseline to a peak of 0.1489 on 2025-12-11 before receding to the current value of 0.0939, indicating that exploitation interest increased after public disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-44028
Vulnerability details
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'save_post_materials' function in versions up to, and including, 4.2.6.5. This makes it possible for authenticated attackers, with…
more
Instructor-level permissions and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.