{"id":"CVE-2024-43797","state":"PUBLISHED","title":"Path Traversal in audiobookshelf","description":"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.","publishedAt":"2024-09-02T16:21:07.372Z","updatedAt":"2024-09-03T14:18:32.336Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["advplyr audiobookshelf"],"affected":[{"vendor":"advplyr","product":"audiobookshelf","versions":[{"version":"< 2.13.0","status":"affected"}]}],"references":["https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc","https://github.com/advplyr/audiobookshelf-ghsa-gg56-vj58-g5mc/pull/1","https://github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/controllers/LibraryController.js#L43-L47"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/43xxx/CVE-2024-43797.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-43797","state":"PUBLISHED","datePublished":"2024-09-02T16:21:07.372Z","dateUpdated":"2024-09-03T14:18:32.336Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-08-16T14:20:37.325Z"},"containers":{"cna":{"title":"Path Traversal in audiobookshelf","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"advplyr","product":"audiobookshelf","versions":[{"version":"< 2.13.0","status":"affected"}]}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc","name":"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","name":"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","name":"https://github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/controllers/LibraryController.js#L43-L47","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-09-02T16:21:07.372Z"},"source":{"advisory":"GHSA-gg56-vj58-g5mc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"advplyr","product":"audiobookshelf","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.13.0","versionType":"custom"}],"cpes":["cpe:2.3:a:advplyr:audiobookshelf:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-03T13:51:47.038623Z","id":"CVE-2024-43797","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-03T14:18:32.336Z"}}]}}}