Description
BookLore through 2.4.0 contains a missing authorization vulnerability in the GET /api/v1/settings endpoint that allows any authenticated user to read unredacted application settings. Low-privileged users can retrieve the OIDC clientSecret and Google, Hardcover, Comic Vine API keys and Amazon cookie to impersonate the BookLore client and abuse third-party credentials.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| booklore-app | BookLore | ≤ 2.4.0 | — |
References
- https://github.com/booklore-app/booklore/blob/v2.4.0/booklore-api/src/main/java/org/booklore/controller/AppSettingController.java#L35-L38 technical-description
- https://github.com/booklore-app/booklore/blob/v2.4.0/booklore-api/src/main/java/org/booklore/service/appsettings/AppSettingService.java#L160-L166 technical-description
- BookLore v2.4.0 Release Notes release-notes
- VulnCheck Advisory: BookLore through 2.4.0 OIDC Client Secret Disclosure via /api/v1/settings third-party-advisory