Lanius CMS <= 0.5.2 (upload.php) Unrestricted File Upload Vulnerability
Lanius CMS has an unrestricted file upload vulnerability in includes/upload.php that lets a remote user upload and execute arbitrary PHP code. The text does not specify authentication requirements or exploitation steps.
karmainsecurity.com
Published on karmainsecurity.com
Lanius CMS contains a flaw that allows a remote user to upload and execute arbitrary PHP code. The vulnerability is caused due to an error in the handling of file uploads in the includes/upload.php script.
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, the upload script does not validate file types or extensions, allowing PHP files to be stored and executed.
Impact
A remote user could upload and execute arbitrary PHP code on the server.
What the attacker needed
None
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.
This is a file upload bug. The website lets someone send a file to the server, but it does not check what kind of file it is. An attacker can send a PHP script, which the server then runs, giving them control over the site.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.