6.3
MEDIUM
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.

Remotely Exploitable :

Yes !

Impact Score :

3.4

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2024-43797 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Audiobookshelf audiobookshelf
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.

URL Resource
https://github.com/advplyr/audiobookshelf-ghsa-gg56-vj58-g5mc/pull/1 Broken Link
https://github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/controllers/LibraryController.js#L43-L47 Product
https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc Exploit Mitigation Vendor Advisory

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability