Vulnerability · Published Jan 14, 2023 · Assigned by GitHub_M
CVE-2022-41955Autolab is vulnerable to remote code execution (RCE) via MOSS functionality
High 8.8
In plain English
A high-severity OS command injection in Autolab from autolab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities).
Official description
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`.
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/autolab/Autolab/security/advisories/GHSA-x5r3-vf3p-3269 x_refsource_CONFIRM
- https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/ x_refsource_MISC