Description
An unauthenticated arbitrary file upload vulnerability exists in FlashChat versions 6.0.2 and 6.0.4 through 6.0.8. The upload.php endpoint fails to properly validate file types and authentication, allowing attackers to upload malicious PHP scripts. Once uploaded, these scripts can be executed remotely, resulting in arbitrary code execution as the web server user.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
6.0.2
6.0.4 (semver)
Credits
x-hayben21
References
raw.githubusercontent.com/...webapp/flashchat_upload_exec.rb
www.exploit-db.com/exploits/28709
www.fortiguard.com/.../37342/flashchat-arbitrary-file-upload
www.phpbb.com/community/viewtopic.php?t=2627786
www.vulncheck.com/...ies/flashchat-arbitrary-file-upload-rce