Description
LaraDashboard before 1.4.8 contains an incorrect authorization vulnerability that allows authenticated users with only settings.view permission to read stored secrets through the settings API. Attackers can query GET /api/settings or /api/settings/{option_name} to retrieve plaintext AI provider API keys, mail credentials, passwords and tokens.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
laradashboard laradashboard
Default version status: unaffected
0 to < 1.4.8affected1.4.8unaffected
pkg:github/laradashboard/laradashboardReferences
- https://github.com/laradashboard/laradashboard/security/advisories/GHSA-xgmw-7ppx-v7hq ↗
- https://github.com/laradashboard/laradashboard/blob/v1.4.2/app/Http/Controllers/Api/SettingController.php#L23-L50 ↗
- https://github.com/laradashboard/laradashboard/blob/v1.4.2/app/Http/Resources/SettingResource.php#L17-L26 ↗
- https://github.com/laradashboard/laradashboard/blob/v1.4.2/app/Policies/SettingPolicy.php#L15-L34 ↗
- https://github.com/laradashboard/laradashboard/pull/340 ↗
- https://github.com/laradashboard/laradashboard/commit/532a10efd2cc1338ef3f59236f195df859b2dbe3 ↗
- https://github.com/laradashboard/laradashboard/releases/tag/v1.4.8 ↗
- https://github.com/laradashboard/laradashboard ↗
- https://www.vulncheck.com/advisories/laradashboard-before-1.4.8-incorrect-authorization-exposes-secrets-via-settings-api ↗