Description
A remote code execution vulnerability occurs in OpenTSDB through 2.4.0 via command injection in the yrange parameter. The yrange value is written to a gnuplot file in the /tmp directory. This file is then executed via the mygnuplot.sh shell script. (tsd/GraphHandler.java attempted to prevent command injections by blocking backticks but this is insufficient.)
Remediation
References
http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html
https://github.com/OpenTSDB/opentsdb/issues/2051
Related Vulnerabilities
CVE-2015-0250 Vulnerability in maven package org.eclipse.birt.runtime:org.apache.batik.dom
CVE-2023-24187 Vulnerability in maven package com.bstek.ureport:ureport2-core
CVE-2022-31160 Vulnerability in maven package org.webjars.npm:jquery-ui
CVE-2021-21345 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2019-10767 Vulnerability in npm package iobroker.js-controller