appRain CMF <= 0.1.5 (uploadify.php) Unrestricted File Upload Vulnerability
The appRain content management framework's uploadify.php script accepted uploaded files without properly checking or sanitising them. A remote user could therefore upload and execute arbitrary PHP code on the server.
karmainsecurity.com
Published on karmainsecurity.com
appRain contains a flaw that allows a remote user to execute arbitrary PHP code. This flaw exists because the application uses the uploadify.php script, which does not properly verify or sanitize user-uploaded files.
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 uploadify.php script saved uploaded files without validating their type or extension, allowing PHP files to be stored and executed.
Impact
A remote user could execute arbitrary PHP code on the server, which could lead to full compromise of the application and host.
What the attacker needed
Remote access to the upload script
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.
A website lets visitors upload files, such as images. The code handling the upload did not check what kind of file it was, so someone could send a PHP script instead of a picture. When the server later runs that script, the attacker's code executes on the server.
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.