{"exploit":{"id":"EDB-9296","name":"TinyBrowser (TinyMCE Editor File browser) 1.41.6 - Multiple Vulnerabilities","description":"TinyBrowser (TinyMCE Editor File browser) 1.41.6 - Multiple Vulnerabilities","cves":["CVE-2011-4908"],"author":"Aung Khant","published":"2009-07-28","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/9296","path":"exploits/php/webapps/9296.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-9296.txt","vulnerabilities":[{"id":"CVE-2011-4908","state":"PUBLISHED","title":null,"titleSource":null,"description":"TinyBrowser plugin for Joomla! before 1.5.13 allows arbitrary file upload via upload.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-4908","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-4908"},"updatedAt":"2024-08-07T00:23:38.279Z","retrievedAt":"2026-11-26T13:06:17.221Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-9296.png?v=2","url":"https://exploitbin.com/exploits/EDB-9296","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-9296/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-9296/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"==============================================================================\n TinyBrowser (TinyMCE Editor File browser) 1.41.6 - Multiple Vulnerabilities\n==============================================================================\n\nDiscovered by\nAung Khant, YGN Ethical Hacker Group, Myanmar\nhttp://yehg.net/ ~ believe in full disclosure\n\nAdvisory URL:\nhttp://yehg.net/lab/pr0js/advisories/tinybrowser_1416_multiple_vulnerabilities\nDate published: 2009-07-27\nSeverity: High\nVulnerability Class: Abuse of Functionality\nAffected Products:\n- TinyMCE editor with TinyBrowser plugin\n- Any web sites/web applications that use TinyMCE editor with TinyBrowser plugin\n\n\nAuthor: Bryn Jones (http://www.lunarvis.com)\nAuthor Contacted: Yes\nReply: No reply\n\n\nProduct Overview\n================\n\nTinyBrowser is a plugin of TinyMCE JavaScript editor that acts as\nfile browser to view, upload, delete, rename files and folders on the\nweb servers.\n\n\nVulnerabilities\n==================\n\n#1. Default Insecure Configurations\n\nConfiguration settings shipped with tinybrowser are relatively insecure by\ndefault. They allow attackers to view, upload, delete, rename files and folders\nunder its predefined upload directory.\n\nCasual web developers or users might just upload the TinyMCE browser without\ndoing any configurations or they might do it later.\nMeanwhile, if an attacker luckily finds the tinybrowser directory, which is by default\njscripts/tiny_mce/plugins/tinybrowser, he can do harm or abuse because of\ninsecure default configurations.\n\nThis was once a vulnerability of fckeditor (http://fckeditor.net) which has fixed\nits hole - if you run fckeditor's file upload page the first time, you'll see\n\"This connector is disabled. Please check the ....\". Tinybrowser should imitate\nlike this.\n\n\n#2. Arbitrary Folder Creation\n\nRequesting the url [PATH]/tinybrowser.php?type=image&folder=hacked will\ncreate a folder named \"hacked\" in /useruploads/images/ directory if that\nfolder does not exist.\n\n\n#3. Arbitrary File Hosting\n\nFile: config_tinybrowser.php\nCode:\n// File upload size limit (0 is unlimited)\n$tinybrowser['maxsize']['image'] = 0; // Image file maximum size\n$tinybrowser['maxsize']['media'] = 0; // Media file maximum size\n$tinybrowser['maxsize']['file']  = 0; // Other file maximum size\n$tinybrowser['prohibited'] = array('php','php3','php4','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi', 'sh', 'py','asa','asax','config','com','inc');\n// Prohibited file extensions\n\nThe max allowable upload is not restricted. So it will depend only on web server's default setting or\nPHP timeout value. There are not many restricted file types. Here's a way to abuse:\n- Create a hidden directory by requesting [PATH]/upload.php?type=file&folder=.hostmyfiles\n- Then go to /upload.php?type=file&folder=.hostmyfiles\n- Host your sound, movie, pictures, zipped archives or even your sample HTML web sites for FREE!\n\nAn evil trick to create seemingly interesting folder such as secret and host a\nbrowser-exploit html page that triggers drive-by-download trojan.\nWhen web master browses that folder and clicks the exploit file, then he gets owned.\n\n#4. Cross-site Scripting\n\nMost GET/POST variables are not sanitized.\n\nFile: upload.php\nCode:\n$goodqty = (isset($_GET['goodfiles']) ? $_GET['goodfiles'] : 0);\n$badqty = (isset($_GET['badfiles']) ? $_GET['badfiles'] : 0);\n$dupqty = (isset($_GET['dupfiles']) ? $_GET['dupfiles'] : 0);\n\nExploit: upload.php?badfiles=1\"><script>alert(/XSS/)</script>\n\n#5. Cross-site Request Forgeries\n\nAll major actions such as create, delete, rename files/folders are GET/POST XSRF-able.\n\n#########################################################################################\n\n# milw0rm.com [2009-07-28]","sha256":"53df6b60c95b5d2ae15ed6a84bf133f2797b05d34824bd245077b60ccfde82a6","bytes":3750,"fetchedAt":"2026-11-26T13:06:17.024Z","encoding":"utf-8 (display only; download retains original bytes)"}