{"uuid": "6a456254-7e76-4974-9e6c-fae9d7cb990d", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-26352", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/dotcms_file_upload_rce.rb", "content": "{\"aliases\": [], \"arch\": \"java\", \"author\": [\"Shubham Shah\", \"Hussein Daher\", \"jheysel-r7\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"When files are uploaded into dotCMS via the content API, but before they become content, dotCMS writes the\\n          file down in a temp directory.  In the case of this vulnerability, dotCMS does not sanitize the filename\\n          passed in via the multipart request header and thus does not sanitize the temp file's name.  This allows a\\n          specially crafted request to POST files to dotCMS via the ContentResource (POST /api/content)  that get\\n          written outside of the dotCMS temp directory.  In the case of this exploit, an attacker can upload a special\\n          .jsp file to the webapp/ROOT directory of dotCMS which can allow for remote code execution.\", \"disclosure_date\": \"2022-05-03\", \"fullname\": \"exploit/multi/http/dotcms_file_upload_rce\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:57:58 +0000\", \"name\": \"DotCMS RCE via Arbitrary File Upload.\", \"needs_cleanup\": true, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"artifacts-on-disk\", \"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/dotcms_file_upload_rce.rb\", \"platform\": \"Linux,Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/http/dotcms_file_upload_rce\", \"references\": [\"CVE-2022-26352\", \"URL-https://blog.assetnote.io/2022/05/03/hacking-a-bank-using-dotcms-rce/\"], \"rport\": 8443, \"session_types\": false, \"targets\": [\"Java Linux\", \"Java Windows\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:46.332203Z"}