CVE-2024-43797
"Audiobookshelf Path Traversal Vulnerability"
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.
INFO
Published Date :
Sept. 2, 2024, 6:15 p.m.
Last Modified :
Sept. 13, 2024, 7:49 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.4
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-43797
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-43797
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-43797
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 13, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/controllers/LibraryController.js#L43-L47 No Types Assigned https://github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/controllers/LibraryController.js#L43-L47 Product Changed Reference Type https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc No Types Assigned https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc Exploit, Mitigation, Vendor Advisory Changed Reference Type https://github.com/advplyr/audiobookshelf-ghsa-gg56-vj58-g5mc/pull/1 No Types Assigned https://github.com/advplyr/audiobookshelf-ghsa-gg56-vj58-g5mc/pull/1 Broken Link Added CWE NIST CWE-22 Added CPE Configuration OR *cpe:2.3:a:audiobookshelf:audiobookshelf:*:*:*:*:*:*:*:* versions up to (excluding) 2.13.0 -
CVE Received by [email protected]
Sep. 02, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc [No types assigned] Added Reference GitHub, Inc. https://github.com/advplyr/audiobookshelf-ghsa-gg56-vj58-g5mc/pull/1 [No types assigned] Added Reference GitHub, Inc. https://github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/controllers/LibraryController.js#L43-L47 [No types assigned] Added CWE GitHub, Inc. CWE-22 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-43797
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-43797
weaknesses.