Cross-site request forgery via missing session-key validation
Published Jan 25, 2022 · Updated Aug 2, 2024
Cross-site request forgery in Moodle LMS 3.11.4 and earlier allows remote attackers to delete badge alignments via crafted requests. The remove action in badges/alignment_action.php calls delete_alignment with the supplied alignment identifier without validating a session key, while the generated delete link omits that key. Exploitation requires an authenticated victim with badge-configuration permission to follow an attacker-controlled request, and it is limited to deleting a badge alignment.
Summary
What happened
Cross-site request forgery in Moodle LMS 3.11.4 and earlier allows remote attackers to delete badge alignments via crafted requests. The remove action in badges/alignment_action.php calls delete_alignment with the supplied alignment identifier without validating a session key, while the generated delete link omits that key. Exploitation requires an authenticated victim with badge-configuration permission to follow an attacker-controlled request, and it is limited to deleting a badge alignment.
The record
- CVE
- CVE-2022-0335
- Published
- Jan 25, 2022
- Updated
- Aug 2, 2024
- Vendor
- Moodle
- Product
- Moodle LMS
- Classifications
- CWE-352, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 25, 2022CVE publishedPublication date reported by the CVE source.
- Aug 2, 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=moodle 3.11.5, moodle 3.10.9 and moodle 3.9.12
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