CVE-2022-41955: Autolab - Remote Code Execution
- Cve: CVE-2022-41955
- Name: Autolab - Remote Code Execution
- 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`.
- Impact: Attackers with instructor access can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 2.10.0 or later; as a workaround, disable the MOSS feature by modifying run_moss in app/controllers/courses_controller.rb.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs instructor access to MOSS feature
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01615
- Epss percentile: 0.76632
- Assignee: [email protected]
- Published at: 2023-01-14T01:15:12Z
- Age in days: 1410
- Modified at: 2026-06-17T05:04:07Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-41955
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/autolab/Autolab/security/advisories/GHSA-x5r3-vf3p-3269 | nvd | Third Party Advisory |
| https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/ | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| autolabproject:autolab | >= 2.0.2, < 2.10.0 | no | nvd | /v1/products/autolabproject/autolab |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| autolab/Autolab | security_advisory | yes | /v1/repositories/autolab/Autolab |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts