Summary
LaraDashboard before 1.5.0 contains a path traversal vulnerability (CWE-22) in how it parses module.json providers and composer.json psr-4 namespaces. Destination folder names are derived from these values without excluding traversal characters.
Per the CVSS vector, the attack is network-based, low complexity and requires no user interaction. However, the attacker needs high privileges, specifically the module.create permission. Such a user can upload a crafted module ZIP that writes PHP files into the public directory. Scope is changed (S:C), with high impact on confidentiality, integrity and availability. The CVSS score is 9.1 (critical).
The written PHP files can then be requested without authentication, resulting in remote code execution on the server. The vulnerability is not listed in CISA KEV. EPSS is about 1.5% (73rd percentile).
Who is affected
This affects organizations running LaraDashboard versions earlier than 1.5.0, especially where multiple users hold module creation rights.
What to do
- Upgrade LaraDashboard to version 1.5.0 or later, which fixes the issue (commit 44ddc4a).
- Review which users and roles hold the module.create permission. Until you upgrade, restrict it to essential, trusted administrators only.
- Inspect the public directory for unexpected PHP files.
- Review recently uploaded modules and module upload logs.
- Consult the official advisory GHSA-75q6-qrv2-96rx for further details.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Administrator
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- github.com/laradashboard/laradashboard/security/advisories/GHSA-75q6-qrv2-96rx vendor advisory
- github.com/laradashboard/laradashboard/commit/44ddc4a6b2d64c4fb6f801b2de2008be455d980a patch
- www.vulncheck.com/advisories/laradashboard-before-1.5.0-path-traversal-rce-via-module-json
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.