{"id":"CVE-2023-32676","published":"2023-05-26T22:44:09Z","modified":"2024-10-15T16:29:34Z","title":"Autolab tar slip in Install Assessment functionality (`GHSL-2023-081`)","vendor":"autolab","product":"Autolab","tier":"tail","description":{"text":"Autolab is a course management service that enables auto-graded programming assignments. A Tar slip vulnerability was found in the Install assessment functionality of Autolab. To exploit this vulnerability an authenticated attacker with instructor permissions needs to upload a specially crafted Tar file. Using the install assessment functionality an attacker can feed a Tar file that contain files with paths pointing outside of the target directory (e.g.,  `../../../../tmp/tarslipped1.sh`). When the Install assessment form is submitted the files inside of the archives are expanded to the attacker-chosen locations. This issue has been addressed in version 2.11.0. Users are advised to upgrade.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00906,"percentile":0.60721,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/autolab/Autolab/security/advisories/GHSA-x9hj-r9q4-832c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/autolab/Autolab/commit/14f508484a8323eceb0cf3a128573b43eabbc80d","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2023-081_GHSL-2023-082_Autolab/","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":12.14},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"autolab","affectedVersions":[{"vendor":"autolab","product":"Autolab","versions":["< 2.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-01-24T17:20:24.700305Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-36917","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-autolab-cve-2023-32317","parents":[{"from":"CVE-2023-32317","to":"CVE-2023-32676","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/controllers/courses_controller.rb"],"commits":["https://github.com/autolab/Autolab/commit/410a9228ee265f80692334d75eb2c3b4dac6f9e5","https://github.com/autolab/Autolab/commit/14f508484a8323eceb0cf3a128573b43eabbc80d"],"basis":"shared function","functions":["extract_tar_for_moss"]},{"kind":"similar","provenance":"machine","score":0.45,"basis":"same product + CWE + description similarity"}]}],"children":[{"from":"CVE-2023-32676","to":"CVE-2024-53260","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/controllers/courses_controller.rb"],"commits":["https://github.com/autolab/Autolab/commit/14f508484a8323eceb0cf3a128573b43eabbc80d","https://github.com/autolab/Autolab/commit/fe44b53815d37c63e751032205b692ccd5737620"],"basis":"rarely changed file"}]}]}}