{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-41956","id":"CVE-2022-41956","title":"Autolab is vulnerable to file disclosure via remote handin feature","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 file disclosure vulnerability was discovered in Autolab's remote handin feature, whereby users are able to hand-in assignments using paths outside their submission directory. Users can","descriptionLong":"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 file disclosure vulnerability was discovered in Autolab's remote handin feature, whereby users are able to hand-in assignments using paths outside their submission directory. Users can then view the submission to view the file's contents. The vulnerability has been patched in version 2.10.0. As a workaround, ensure that the field for the remote handin feature is empty (Edit Assessment > Advanced > Remote handin path), and that you are not running Autolab as `root` (or any user that has write access to `/`). Alternatively, disable the remote handin feature if it is unneeded by replacing the body of `local_submit` in `app/controllers/assessment/handin.rb` with `render(plain: \"Feature disabled\", status: :bad_request) && return`.","published":"2023-01-14T00:40:32.121Z","updated":"2026-10-28T02:30:54.467376927Z","reserved":"2022-09-30T16:38:28.945Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["Autolab"],"affectedProducts":[{"vendor":"autolab","product":"Autolab","defaultStatus":null,"versions":[{"version":"<= 2.9.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":["GHSA-g7x7-mgrv-f24x"],"references":[{"url":"https://github.com/autolab/Autolab/security/advisories/GHSA-g7x7-mgrv-f24x","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/","tags":["x_refsource_MISC","x_transferred","advisory"]},{"url":"https://www.stackhawk.com/blog/rails-path-traversal-guide-examples-and-prevention/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","article"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41956.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41956","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01918,"epssPercentile":0.80336,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-41956","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41956","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-41956","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-41956","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}