Horizon Alert
Summary of the vulnerability and why it matters
This advisory concerns a critical vulnerability in a WordPress learning management system plugin that could allow unauthenticated attackers to inject malicious code by uploading a specially crafted import file. While exploitation typically requires specific, non-default site configurations, the underlying issue involves processing untrusted data in a way that could compromise the integrity of the affected websites.
- Plugin flaw allows injected code via course imports.
- Matters if site has specific non-default settings.
- Confirm relevance and check for exposure.
Attack Path
How an attacker could exploit the issue
An attacker could exploit this vulnerability by sending a crafted JSON import file to a vulnerable WordPress site. This file, when processed by the course importer, allows the attacker to inject arbitrary PHP objects through deserialization. If certain site settings are enabled, unauthenticated attackers can trigger this. Otherwise, attackers need at least author-level access.
- Unauthenticated access to import feature.
- Importing a malicious JSON file.
- Arbitrary code execution.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow attackers to inject arbitrary PHP objects into a WordPress site, potentially affecting service behavior. This requires specific, non-default configurations or an attacker with author-level access or higher.
- Course import functionality.
- Deserializing untrusted input.
- Arbitrary code execution.
Operational Fix
Recommended remediation, mitigation, and detection steps
This critical vulnerability affects the Masteriyo LMS plugin for WordPress. Application owners, in conjunction with infrastructure and security teams, should prioritize identifying instances of this plugin, assessing their reachability, and confirming business criticality. Remediation planning should then be risk-based, considering the plugin's specific configuration and the potential for exploitation by unauthenticated or authenticated users.
- Application owners should own this issue.
- Verify if instructor registration is enabled.
- Plan remediation based on exposure.