{"id":"CVE-2024-43797","published":"2024-09-02T16:21:07Z","modified":"2024-09-03T14:18:32Z","title":"Path Traversal in audiobookshelf","vendor":"advplyr","product":"audiobookshelf","tier":"tail","description":{"text":"audiobookshelf is a self-hosted audiobook and podcast server. A non-admin user is not allowed to create libraries (or access only the ones they have permission to). However, the `LibraryController` is missing the check for admin user and thus allows a path traversal issue. Allowing non-admin users to write to any directory in the system can be seen as a form of path traversal. However, since it can be restricted to only admin permissions, fixing this is relatively simple and falls more into the realm of Role-Based Access Control (RBAC). This issue has been addressed in release version 2.13.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00546,"percentile":0.46689,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/advplyr/audiobookshelf-ghsa-gg56-vj58-g5mc/pull/1","tags":["x_refsource_MISC"]},{"url":"https://github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/controllers/LibraryController.js#L43-L47","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":9.34},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"advplyr","affectedVersions":[{"vendor":"advplyr","product":"audiobookshelf","versions":["< 2.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-03T13:51:47.038623Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40454","exploited":false,"provenance":"source"}}