Description
Lara Dashboard before 1.3.2 authorizes the POST /admin/settings/core-upgrades/upload endpoint with only the settings.edit permission, allowing non-Superadmin administrators to upload and extract arbitrary zip archives over the live application source code. Attackers can upload a malicious archive containing modified application files such as routes/web.php with embedded system commands, which execute as the web server user with access to environment secrets and database credentials.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| laradashboard | laradashboard | < 1.3.2 | 1.3.2 |
References
- GitHub Security Advisory (GHSA-xv98-x5h7-4g7v) vendor-advisory
- https://github.com/laradashboard/laradashboard/blob/v1.3.1/app/Http/Requests/CoreUpgrade/UploadRequest.php#L15-L18 technical-description
- https://github.com/laradashboard/laradashboard/blob/v1.3.1/app/Policies/SettingPolicy.php#L47-L50 technical-description
- https://github.com/laradashboard/laradashboard/blob/v1.3.1/app/Services/CoreUpgradeService.php#L543-L577 technical-description
- https://github.com/laradashboard/laradashboard/commit/738cc1a219ce459323ef1d09c3789075f1b8d2f2 patch
- laradashboard v1.3.2 Release Notes release-notes
- https://github.com/laradashboard/laradashboard product
- https://www.vulncheck.com/advisories/lara-dashboard-before-1.3.2-incorrect-authorization-in-core-upgrade-archive-upload third-party-advisory