{"uuid": "4ba8806f-7ae3-4a99-925d-e273e38d2543", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-25646", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_druid_js_rce.rb", "content": "{\"aliases\": [], \"arch\": \"x86, x64, cmd\", \"author\": [\"Litch1, Security Team of Alibaba Cloud\", \"je5442804\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"Apache Druid includes the ability to execute user-provided JavaScript code embedded in\\n          various types of requests; however, that feature is disabled by default.\\n\\n          In Druid versions prior to `0.20.1`, an authenticated user can send a specially-crafted request\\n          that both enables the JavaScript code-execution feature and executes the supplied code all\\n          at once, allowing for code execution on the server with the privileges of the Druid Server process.\\n          More critically, authentication is not enabled in Apache Druid by default.\\n\\n          Tested on the following Apache Druid versions:\\n\\n          * 0.15.1\\n          * 0.16.0-iap8\\n          * 0.17.1\\n          * 0.18.0-iap3\\n          * 0.19.0-iap7\\n          * 0.20.0-iap4.1\\n          * 0.20.0\\n          * 0.21.0-iap3\", \"disclosure_date\": \"2021-01-21\", \"fullname\": \"exploit/linux/http/apache_druid_js_rce\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:54:55 +0000\", \"name\": \"Apache Druid 0.20.0 Remote Command Execution\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/apache_druid_js_rce.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/apache_druid_js_rce\", \"references\": [\"CVE-2021-25646\", \"URL-https://lists.apache.org/thread.html/rfda8a3aa6ac06a80c5cbfdeae0fc85f88a5984e32ea05e6dda46f866%40%3Cdev.druid.apache.org%3E\", \"URL-https://github.com/yaunsky/cve-2021-25646/blob/main/cve-2021-25646.py\"], \"rport\": 8888, \"session_types\": false, \"targets\": [\"Linux (dropper)\", \"Unix (in-memory)\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:21.475603Z"}