RCE in Autolab
CVE-2022-41955
Autolab is a course management service, initially developed by a team of students at Carnegie Mellon University, that enables instructors to offer autograded programming assignments to their students over the Web. A remote code execution vulnerability was discovered in Autolab's MOSS functionality, whereby an instructor with access to the feature might be able to execute code on the server hosting Autolab. This vulnerability has been patched in version 2.10.0. As a workaround, disable the MOSS feature if it is unneeded by replacing the body of `run_moss` in `app/controllers/courses_controller.rb` with `render(plain: "Feature disabled", status: :bad_request) && return`.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.015 (71.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Autolab — versions >= 2.0.1, <= 2.9.0
- Autolabproject Autolab
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-41955?
- CVE-2022-41955 is a high-severity vulnerability in Autolab, classified under OS Command Injection. CVSS score: 8.8/10. Published 2023-01-14.
- How severe is CVE-2022-41955?
- High severity. CVSS v3 base score is 8.8 out of 10.