Exploitation Summary
EIP tracks 1 public exploit for CVE-2021-47756. PoCs published by leonjza.
AI-analyzed exploit summary This exploit leverages a misconfigured sudoers rule in Laravel Valet (v1.1.4 to v2.0.3) on macOS, allowing a local user to modify the writable `valet` command symlink and execute arbitrary commands as root without a password. The PoC injects a `/bin/bash` payload into the valet command and triggers it via `sudo`.
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.
Exploits (1)
This exploit leverages a misconfigured sudoers rule in Laravel Valet (v1.1.4 to v2.0.3) on macOS, allowing a local user to modify the writable `valet` command symlink and execute arbitrary commands as root without a password. The PoC injects a `/bin/bash` payload into the valet command and triggers it via `sudo`.
References (3)
Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H