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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| laradashboard | laradashboard | < 1.4.8 | 1.4.8 |
References
- GitHub Security Advisory (GHSA-xgmw-7ppx-v7hq) vendor-advisory
- https://github.com/laradashboard/laradashboard/blob/v1.4.2/app/Http/Controllers/Api/SettingController.php#L23-L50 technical-description
- https://github.com/laradashboard/laradashboard/blob/v1.4.2/app/Http/Resources/SettingResource.php#L17-L26 technical-description
- https://github.com/laradashboard/laradashboard/blob/v1.4.2/app/Policies/SettingPolicy.php#L15-L34 technical-description
- https://github.com/laradashboard/laradashboard/pull/340 patch issue-tracking
- https://github.com/laradashboard/laradashboard/commit/532a10efd2cc1338ef3f59236f195df859b2dbe3 patch
- laradashboard v1.4.8 Release Notes release-notes
- https://github.com/laradashboard/laradashboard product
- VulnCheck Advisory: LaraDashboard before 1.4.8 Incorrect Authorization Exposes Secrets via Settings API third-party-advisory