Strategic Overview
- Status
- Patched in 1.8.8
- Affected Plugin
- Tutor LMS – eLearning and online course solution
- Affected Version
<= 1.8.7- CVSS
- 5.5Medium
- Weakness type
- CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
- CVE
CVE-2021-24242
At a glance
CVE-2021-24242 is a medium-severity Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in the Tutor LMS WordPress plugin, affecting versions <= 1.8.7. It carries a CVSS score of 5.5 (reachable over the network; high confidentiality impact). Exploitation requires an authenticated account. The issue is fixed in version 1.8.8; sites on affected versions should update now. Disclosed April 2021, reported by sasa.
Vulnerability Overview
The Tutor LMS – eLearning and online course solution WordPress plugin before 1.8.8 is affected by a local file inclusion vulnerability through the maliciously constructed sub_page parameter of the plugin's Tools, allowing high privilege users to include any local php file
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Reaching this weakness in Tutor LMS <= 1.8.7 takes any authenticated account. PHP file inclusion means a path used by include or require is built from request data, so the file that gets executed is under the caller's influence.
Including an attacker-influenced file executes its contents, which is why this class is routinely chained with an upload or log-poisoning step to reach code execution. For Tutor LMS the fix is 1.8.8: builds <= 1.8.7 are affected, anything from 1.8.8 onward is not.
Remediation
Update to version 1.8.8, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Tutor LMS: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Tutor LMS 1.8.8 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Alerts
External References
Related records
Other vulnerabilities in Tutor LMS – eLearning and online course solution
- 9.8CVE-2024-4223: Tutor LMS <= 2.7.0 Missing Authorization
CVE-2024-4223 - 9.8CVE-2023-25700: Tutor LMS <= 2.1.10 SQL Injection
CVE-2023-25700 - 8.8CVE-2026-78175: Tutor LMS <= 4.0.7 PHP Object Injection to RCE
CVE-2026-78175 - 8.8CVE-2024-4318: Tutor LMS <= 2.7.0 SQL Injection
CVE-2024-4318 - 8.8CVE-2024-1751: Tutor LMS SQL Injection
CVE-2024-1751 - 8.8CVE-2023-25800: Tutor LMS <= 2.2.0 SQL Injection
CVE-2023-25800 - 8.8CVE-2023-25990: Tutor LMS <= 2.1.10 SQL Injection
CVE-2023-25990 - 8.8CVE-2021-24184: Tutor LMS Unprotected AJAX including Privilege
CVE-2021-24184
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C