socket.io-file
socket.io-file copied to clipboard
File type restriction bypass
I just released my second 0day vulnerability regarding Socket.io-file. The advisory was supposed to get released on Saturday but nothing yet, so under the npm's policy I'm free to publicly disclose the vulnerability now.
The vulnerability affects all versions of socket.io-file and allows a malicious user to bypass the file type restrictions and upload any type of file to the server. Alongside my first 0day, and in specific configurations, they can lead to remote code execution in the underlying server.
Technical report: https://cr0wsplace.wordpress.com/2020/09/26/socket-io-file-2-0-31-file-type-restriction-bypass/
Please consider using another solution, as this project is completely outdated and I wouldn't bet on getting any future updates.
Advisory: https://www.npmjs.com/advisories/1564