CVE-2024-43797
Audiobookshelf vulnerability
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 products
Audiobookshelf. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Audiobookshelf runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/advplyr/audiobookshelf/security/advisories/GHSA-gg56-vj58-g5mc · Exploit
- github.com/advplyr/audiobookshelf-ghsa-gg56-vj58-g5mc/pull/1
- github.com/advplyr/audiobookshelf/blob/1c0d6e9c670ebb1b6f1e427a4c4d9250a7fb9b80/server/con
- nvd.nist.gov/vuln/detail/CVE-2024-43797
- cve.org/CVERecord?id=CVE-2024-43797
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.