{"schemaVersion":3,"id":"CVE-2023-47218","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"An OS command injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to execute commands via a network.\n\nWe have already fixed the vulnerability in the following versions:\nQTS 5.1.5.2645 build 20240116 and later\nQuTS hero h5.1.5.2647 build 20240118 and later\nQuTScloud c5.1.5.2651 and later","dates":{"published":"2024-02-13T02:44:14.677Z","modified":"2025-05-07T21:13:18.700Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.8992,"percentile":0.99795,"severity":"critical","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.8992},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.8992,"percentile":0.99795}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.8992,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.8992,"percentile":0.99795}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_509A1F3B19E53F95","name":"Exploit Reference (rapid7.com)","source":"reference","url":"https://www.rapid7.com/blog/post/2024/02/13/cve-2023-47218-qnap-qts-and-quts-hero-unauthenticated-command-injection-fixed/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_QNAP_QTS_RCE_CVE_2023_47218","name":"QNAP QTS and QuTS Hero Unauthenticated Remote Code Execution in quick.cgi","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/qnap_qts_rce_cve_2023_47218.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/qnap_qts_rce_cve_2023_47218","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"qnap systems inc.","product":"qts","name":"QTS","label":"qts","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.1.x, < 5.1.5.2645 build 20240116","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.1.x, < 5.1.5.2645 build 20240116","eol":null,"hubHref":"/vendor/qnap_systems_inc/qts"},{"vendor":"qnap systems inc.","product":"quts hero","name":"QuTS hero","label":"quts hero","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ h5.1.x, < h5.1.5.2647 build 20240118","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ h5.1.x, < h5.1.5.2647 build 20240118","eol":null,"hubHref":"/vendor/qnap_systems_inc/quts_hero"},{"vendor":"qnap systems inc.","product":"qutscloud","name":"QuTScloud","label":"qutscloud","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ c5.x, < c5.1.5.2651","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ c5.x, < c5.1.5.2651","eol":null,"hubHref":"/vendor/qnap_systems_inc/qutscloud"},{"vendor":"qnap","product":"qts","name":"QTS","label":"qts","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 5.1.0, < 5.1.5.2645","noFixRecorded":false,"fixedIn":null},{"text":"5.1.5.2645","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.1.0, < 5.1.5.2645 | 5.1.5.2645","eol":null,"hubHref":"/vendor/qnap/qts"},{"vendor":"qnap","product":"quts_hero","name":"quts hero","label":"quts_hero","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ h5.1.0, < h5.1.5.2647","noFixRecorded":false,"fixedIn":null},{"text":"h5.1.5.2647","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ h5.1.0, < h5.1.5.2647 | h5.1.5.2647","eol":null,"hubHref":"/vendor/qnap/quts_hero"},{"vendor":"qnap","product":"qutscloud","name":"qutscloud","label":"qutscloud","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ c5.0.0.1919, < c5.1.5.2651","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ c5.0.0.1919, < c5.1.5.2651","eol":null,"hubHref":"/vendor/qnap/qutscloud"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.qnap.com/en/security-advisory/qsa-23-57","label":"www.qnap.com/en/security-advisory/qsa-23-57","hostname":"www.qnap.com","tags":["Vendor Advisory"]},{"url":"https://www.rapid7.com/blog/post/2024/02/13/cve-2023-47218-qnap-qts-and-quts-hero-unauthenticated-command-injection-fixed/","label":"www.rapid7.com/blog/…","hostname":"www.rapid7.com","tags":["Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-02-13T02:44:14.677Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-07T21:13:18.700Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":61,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:33:33.375Z","stale":false,"partial":false}}