{"uuid": "6d05b8c6-40c2-487d-aeb3-137bccf61c43", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-35476", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opentsdb_yrange_cmd_injection.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, x86, x64\", \"author\": [\"Shai rod\", \"Erik Wynter\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits an unauthenticated command injection\\n          vulnerability in the yrange parameter in OpenTSDB through\\n          2.4.0 (CVE-2020-35476) in order to achieve unauthenticated\\n          remote code execution as the root user.\\n\\n          The module first attempts to obtain the OpenTSDB version via\\n          the api. If the version is 2.4.0 or lower, the module\\n          performs additional checks to obtain the configured metrics\\n          and aggregators. It then randomly selects one metric and one\\n          aggregator and uses those to instruct the target server to\\n          plot a graph. As part of this request, the yrange parameter is\\n          set to the payload, which will then be executed by the target\\n          if the latter is vulnerable.\\n\\n          This module has been successfully tested against OpenTSDB\\n          version 2.3.0.\", \"disclosure_date\": \"2020-11-18\", \"fullname\": \"exploit/linux/http/opentsdb_yrange_cmd_injection\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"OpenTSDB 2.4.0 unauthenticated command injection\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"artifacts-on-disk\", \"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/opentsdb_yrange_cmd_injection.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/opentsdb_yrange_cmd_injection\", \"references\": [\"CVE-2020-35476\", \"URL-https://github.com/OpenTSDB/opentsdb/issues/2051\"], \"rport\": 4242, \"session_types\": false, \"targets\": [\"Automatic (Unix In-Memory)\", \"Automatic (Linux Dropper)\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:49.862904Z"}