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
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.3.2affected1.3.2unaffected
pkg:github/laradashboard/laradashboardReferences
- https://github.com/laradashboard/laradashboard/security/advisories/GHSA-xv98-x5h7-4g7v ↗
- https://github.com/laradashboard/laradashboard/blob/v1.3.1/app/Http/Requests/CoreUpgrade/UploadRequest.php#L15-L18 ↗
- https://github.com/laradashboard/laradashboard/blob/v1.3.1/app/Policies/SettingPolicy.php#L47-L50 ↗
- https://github.com/laradashboard/laradashboard/blob/v1.3.1/app/Services/CoreUpgradeService.php#L543-L577 ↗
- https://github.com/laradashboard/laradashboard/commit/738cc1a219ce459323ef1d09c3789075f1b8d2f2 ↗
- https://github.com/laradashboard/laradashboard/releases/tag/v1.3.2 ↗
- https://github.com/laradashboard/laradashboard ↗
- https://www.vulncheck.com/advisories/lara-dashboard-before-1.3.2-incorrect-authorization-in-core-upgrade-archive-upload ↗