Unpatched RCE in Laravel Voyager = Big Bounties!
Voyager, a Laravel admin package, has three unpatched flaws: a media upload that does not check file types, an input-cleaning gap on the compass page, and a file-path weakness. An attacker could upload a file containing PHP code to run commands, or trick a logged-in admin into clicking a link to take over the account.
medium.com
Published on medium.com
I’m sharing this write-up on acritical Remote Code Execution (RCE) vulnerability in the Laravel admin package Voyager. While some of you may already know about it, it’s crucial to revisit these flaws as they remain unpatched, making them a high-impact target for bug bounty hunters.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing validation of uploaded file types and insufficient sanitisation of user input on the compass page and file paths.
Impact
An attacker could take over an admin account and run commands on the server, and could also delete important files or access private information; the text says the flaws are still unpatched.
What the attacker needed
A logged-in admin; victim clicks a malicious link; Voyager below v1.5.0
The fix
The flaws are unpatched; the text advises restricting access to trusted users, using strict role-based access control, disabling PHP execution in upload directories, monitoring logs, and avoiding Voyager in production until patches exist.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Voyager is a ready-made admin panel for websites built with Laravel, a popular PHP framework. One flaw lets someone upload a file that looks like a picture but is really a program the server will run, and another lets a malicious link run code in an admin's browser. Together these could let an attacker control the site.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.