{"id":"CVE-2023-25826","published":"2023-05-03T18:33:59Z","modified":"2025-02-13T16:44:39Z","title":"Remote Code Execution in OpenTSDB","vendor":"OpenTSDB","product":"OpenTSDB","tier":"tail","description":{"text":"Due to insufficient validation of parameters passed to the legacy HTTP query API, it is possible to inject crafted OS commands into multiple parameters and execute malicious code on the OpenTSDB host system. This exploit exists due to an incomplete fix that was made when this vulnerability was previously disclosed as CVE-2020-35476. Regex validation that was implemented to restrict allowed input to the query API does not work as intended, allowing crafted commands to bypass validation.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.43036,"percentile":0.98751,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.synopsys.com/blogs/software-security/opentsdb/","tags":[]},{"url":"https://github.com/OpenTSDB/opentsdb/pull/2275","tags":[]},{"url":"http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html","tags":[]}],"priority":{"score":31.6,"factors":[{"name":"EPSS percentile","points":19.75},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"metasploit":[{"name":"OpenTSDB 2.4.1 unauthenticated command injection","module":"exploit/linux/http/opentsdb_key_cmd_injection","type":"exploit","disclosureDate":"2023-07-01","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opentsdb_key_cmd_injection.rb"}],"nuclei":[{"id":"CVE-2023-25826","name":"OpenTSDB <= 2.4.1 - Unauthenticated RCE via Gnuplot Injection","severity":"critical","path":"http/cves/2023/CVE-2023-25826.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-25826.yaml"}],"first":{"date":"2023-07-01","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opentsdb_key_cmd_injection.rb"},"provenance":"source"},"vendorSlug":"opentsdb","affectedVersions":[{"vendor":"OpenTSDB","product":"OpenTSDB","versions":["<= 2.4.1"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-01-29T20:07:05.079096Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"net.opentsdb:opentsdb","vulnerableRanges":["<=2.4.1"],"patched":[],"from":["GHSA-h475-7v3c-26q7"],"provenance":"source"}],"summary":{"text":"A flaw in the OpenTSDB product's legacy HTTP query API stems from insufficient validation of parameters, and an incomplete fix to a previously disclosed issue leaves regex-based input restrictions ineffective, so crafted input slips past them. An attacker with network access can send unauthenticated requests with specially crafted OS commands in multiple parameters to execute arbitrary code on the OpenTSDB host, requiring no privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:21Z"},"euvd":{"id":"EUVD-2023-1552","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html"],"lineage":{"familyId":"fam-opentsdb-cve-2020-35476","parents":[{"from":"CVE-2020-35476","to":"CVE-2023-25826","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This exploit exists due to an incomplete fix that was made when this vulnerability was previously disclosed as CVE-2020-35476.","from":"CVE.org","in":"CVE-2023-25826"}]}]}}