Summary
The Masteriyo LMS plugin for WordPress, in versions up to and including 3.5.1, is vulnerable to PHP Object Injection through deserialization of untrusted input in the course importer. It is rated critical, with a CVSS score of 9.8.
What happened
The plugin's course importer deserializes post metadata values taken from the uploaded JSON import file, which can be attacker-controlled (CWE-502). This makes it possible to inject arbitrary PHP objects. For unauthenticated attackers, exploitation requires a non-default configuration: the site must have instructor registration and guest checkout enabled, and at least one purchasable course must exist. Fresh installs disable instructor registration. On a default installation, the vulnerability requires an attacker with author-level access or above.
Why it matters
The CVSS 3.1 score is 9.8 (critical), with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, assigned by Wordfence as CNA. The vector indicates high impact on confidentiality, integrity and availability. The source does not state that the issue is being actively exploited.
Affected products and versions
Masteriyo LMS – LMS Course Builder, Quizzes & Certificates (vendor: masteriyo), versions <= 3.5.1.
| Product | Versions | Fixed in |
|---|---|---|
| masteriyo Masteriyo LMS – LMS Course Builder, Quizzes & Certificates | <= 3.5.1 | — |
Action recommended by the source
The source does not state a fixed version or a specific vendor mitigation. Readers may consult the Wordfence entry and the official WordPress plugin repository for the status of a fix.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d3aca4ff-b921-489d-9fc0-9bbecb19c8f5?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/Importer/CourseImporter.php#L288 — CVE Program
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/RestApi/Controllers/Version1/CoursesImportExportController.php#L568 — CVE Program
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/Checkout.php#L396 — CVE Program
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/RestApi/Controllers/Version1/CoursesImportExportController.php#L210 — CVE Program
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php#L45 — CVE Program
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.2 — CVE Program
Weaknesses (CWE): CWE-502
Relevant change history
Published
Advisory published.