Description
Laravel Valet versions 1.1.4 to 2.0.3 contain a local privilege escalation vulnerability that allows users to modify the valet command with root privileges. Attackers can edit the symlinked valet command to execute arbitrary code with root permissions without additional authentication.
Problem types
Incorrect Permission Assignment for Critical Resource
Product status
Credits
leonjza
References
www.exploit-db.com/exploits/50591 (ExploitDB-50591)
laravel.com/docs/8.x/valet (Laravel Valet Official Documentation)
www.vulncheck.com/...-valet-local-privilege-escalation-macos (VulnCheck Advisory: Laravel Valet 2.0.3 - Local Privilege Escalation (macOS))