{"uuid": "8648c4d7-478f-4f39-80e6-fb5177574cb2", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2023-38646", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/metabase_setup_token_rce.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"h00die\", \"Maxwell Garrett\", \"Shubham Shah\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"Metabase versions before 0.46.6.1 contain a flaw where the secret setup-token\\n          is accessible even after the setup process has been completed. With this token\\n          a user is able to submit the setup functionality to create a new database.\\n          When creating a new database, an H2 database string is created with a TRIGGER\\n          that allows for code execution. We use a sample database for our connection\\n          string to prevent corrupting real databases.\\n\\n          Successfully tested against Metabase 0.46.6, 0.44.4, 0.42.1.\", \"disclosure_date\": \"2023-07-22\", \"fullname\": \"exploit/linux/http/metabase_setup_token_rce\", \"is_install_path\": true, \"mod_time\": \"2024-10-17 09:57:03 +0000\", \"name\": \"Metabase Setup Token RCE\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/metabase_setup_token_rce.rb\", \"platform\": \"Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/metabase_setup_token_rce\", \"references\": [\"URL-https://blog.assetnote.io/2023/07/22/pre-auth-rce-metabase/\", \"URL-https://www.metabase.com/blog/security-advisory\", \"CVE-2023-38646\"], \"rport\": 3000, \"session_types\": false, \"targets\": [\"Automatic Target\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:44.347923Z"}