{"id":"CVE-2025-25205","published":"2025-02-12T18:16:01Z","modified":"2025-02-13T14:14:25Z","title":"Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching","vendor":"advplyr","product":"audiobookshelf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04952,"percentile":0.92377,"provenance":"source"},"cwes":[{"id":"CWE-202","name":"Exposure of Sensitive Information Through Data Queries"},{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/advplyr/audiobookshelf/pull/3584","tags":["x_refsource_MISC"]},{"url":"https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c","tags":["x_refsource_MISC"]},{"url":"https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224","tags":["x_refsource_MISC"]},{"url":"https://github.com/advplyr/audiobookshelf/blob/1a3d70d04100924d41391acb55bd8ddca486a4fa/server/Auth.js#L17-L41","tags":["x_refsource_MISC"]}],"priority":{"score":29.2,"factors":[{"name":"EPSS percentile","points":18.48},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.74}]},"exploitSources":{"metasploit":[{"name":"Audiobookshelf Unauthenticated API Authentication Bypass Scanner","module":"auxiliary/scanner/http/audiobookshelf_auth_bypass","type":"auxiliary","disclosureDate":"2025-02-12","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/audiobookshelf_auth_bypass.rb"}],"first":{"date":"2025-02-12","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/audiobookshelf_auth_bypass.rb"},"provenance":"source"},"vendorSlug":"advplyr","affectedVersions":[{"vendor":"advplyr","product":"audiobookshelf","versions":[">= 2.17.0, < 2.19.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-13T14:13:30.123643Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-4091","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-advplyr-audiobookshelf-cve-2023-51665","parents":[{"from":"CVE-2023-51665","to":"CVE-2025-25205","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/Auth.js"],"commits":["https://github.com/advplyr/audiobookshelf/commit/728496010cbfcee5b7b54001c9f79e02ede30d82","https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c","https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224"],"basis":"shared function","functions":["Auth"]}]}],"children":[{"from":"CVE-2025-25205","to":"CVE-2025-57800","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/Auth.js"],"commits":["https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c","https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224","https://github.com/advplyr/audiobookshelf/commit/99a3867ce934b797e21e6ba5390d4b679e35f7cb"],"basis":"shared function","functions":["Auth"]}]}]}}