CVE-2022-50943 Moodle LMS 4.0 Cross-Site Scripting via course search.php
MediumCVSS 5.1
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHPUbuntu
Description
Moodle LMS 4.0 contains a cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts by submitting payloads through the search parameter. Attackers can inject JavaScript code via the search field in course/search.php to execute arbitrary scripts in users' browsers and steal session cookies.
Upgrade path
4 packages: 1 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/moodle(Ubuntu Pro 16.04) | = 2.7.9+dfsg-1; = 2.7.10+dfsg-1; = 2.7.11+dfsg-1; = 2.7.11+dfsg-2 +4 more | No fix listed | No fix yet |
| ubuntu/moodle(Ubuntu Pro 18.04) | = 3.0.3+dfsg-0ubuntu1; = 3.0.3+dfsg-0ubuntu1+esm1; All versions | No fix listed | No fix yet |
| moodle/moodle | <= 4.0.0 | after 4.0.0 | Fixed |
| Moodle LMS | = 4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Moodle LMS | = 4.0 | No fix listed |
| moodle/moodle | <= 4.0.0 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.9+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.10+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.11+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.11+dfsg-2 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.12+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 3.0.3+dfsg-0ubuntu1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 3.0.3+dfsg-0ubuntu1+esm1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:18.04) | = 3.0.3+dfsg-0ubuntu1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:18.04) | = 3.0.3+dfsg-0ubuntu1+esm1 | No fix listed |
References
- ExploitDB-51115 exploit vdb-entry
- Official Product Homepage product
- Product Reference product
- VulnCheck Advisory: Moodle LMS 4.0 Cross-Site Scripting via course search.php third-party-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking