Authenticated code execution via evaluated SCORM status
Published May 21, 2020 · Updated Aug 4, 2024
Remote code execution in Moodle LMS 3.5 through 3.8.2 allows remote authenticated users to execute PHP code through SCORM web services. The scorm_eval_prerequisites function concatenates an attacker-controlled SCORM status into a PHP expression that it evaluates instead of comparing the values directly. Exploitation requires an authenticated web-service user and a crafted SCORM package added to a course; successful use executes code in the Moodle server context.
Summary
What happened
Remote code execution in Moodle LMS 3.5 through 3.8.2 allows remote authenticated users to execute PHP code through SCORM web services. The scorm_eval_prerequisites function concatenates an attacker-controlled SCORM status into a PHP expression that it evaluates instead of comparing the values directly. Exploitation requires an authenticated web-service user and a crafted SCORM package added to a course; successful use executes code in the Moodle server context.
The record
- CVE
- CVE-2020-10738
- Published
- May 21, 2020
- Updated
- Aug 4, 2024
- Vendor
- Moodle
- Product
- Moodle LMS
- Classifications
- CWE-20, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.5 to 3.5.11
- Affected versionversion=3.6 to 3.6.9
- Affected versionversion=3.7 to 3.7.5
- Affected versionversion=3.8 to 3.8.2
- Affected versionversion=Earlier unsupported versions.
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo