Vulnerability · Published Feb 12, 2025 · Assigned by GitHub_M
CVE-2025-25205Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching
High 8.2
In plain English
A high-severity improper authentication in audiobookshelf from advplyr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.8% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit.
Official description
Audiobookshelf is a self-hosted audiobook and podcast server. Starting in version 2.17.0 and prior to version 2.19.1, a flaw in the authentication bypass logic allows unauthenticated requests to match certain unanchored regex patterns in the URL. Attackers can craft URLs containing substrings like "/api/items/1/cover" in a query parameter (?r=/api/items/1/cover) to partially bypass authentication or trigger server crashes under certain routes. This could lead to information disclosure of otherwise protected data and, in some cases, a complete denial of service (server crash) if downstream code expects an authenticated user object. Version 2.19.1 contains a patch for the issue.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| advplyr | audiobookshelf | >= 2.17.0, < 2.19.1 |
Weakness: CWE-202, CWE-287, CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
References
- https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw x_refsource_CONFIRM
- https://github.com/advplyr/audiobookshelf/pull/3584 x_refsource_MISC
- https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c x_refsource_MISC
- https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224 x_refsource_MISC
- https://github.com/advplyr/audiobookshelf/blob/1a3d70d04100924d41391acb55bd8ddca486a4fa/server/Auth.js#L17-L41 x_refsource_MISC