{"id":"CVE-2018-19945","state":"PUBLISHED","title":"Improper Limitation of a Pathname to a Restricted Directory in QTS","description":"A vulnerability has been reported to affect earlier QNAP devices running QTS 4.3.4 to 4.3.6. Caused by improper limitations of a pathname to a restricted directory, this vulnerability allows for renaming arbitrary files on the target system, if exploited. QNAP have already fixed this vulnerability in the following versions: QTS 4.3.6.0895 build 20190328 (and later) QTS 4.3.4.0899 build 20190322 (and later) This issue does not affect QTS 4.4.x or QTS 4.5.x.","publishedAt":"2020-12-31T16:33:27.917Z","updatedAt":"2024-09-17T02:01:35.778Z","severity":null,"assigner":"qnap","products":["QNAP Systems Inc. QTS"],"affected":[{"vendor":"QNAP Systems Inc.","product":"QTS","versions":[{"version":"unspecified","status":"affected","lessThan":"4.3.6.0895","versionType":"custom"}],"platforms":["build 20190328"]},{"vendor":"QNAP Systems Inc.","product":"QTS","versions":[{"version":"unspecified","status":"affected","lessThan":"4.3.4.0899","versionType":"custom"}],"platforms":["build 20190322"]},{"vendor":"QNAP Systems Inc.","product":"QTS","versions":[{"version":"4.5.x","status":"unaffected"},{"version":"4.4.x","status":"unaffected"}]}],"references":["https://www.qnap.com/zh-tw/security-advisory/qsa-20-21"],"weaknesses":["CWE-20","CWE-22","CWE-73","CWE-284"],"ingestedAt":"2026-10-29T19:44:34.704Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/19xxx/CVE-2018-19945.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-19945","state":"PUBLISHED","datePublished":"2020-12-31T16:33:27.917Z","dateUpdated":"2024-09-17T02:01:35.778Z","assignerShortName":"qnap","assignerOrgId":"2fd009eb-170a-4625-932b-17a53af1051f","dateReserved":"2018-12-07T00:00:00.000Z"},"containers":{"cna":{"title":"Improper Limitation of a Pathname to a Restricted Directory in QTS","descriptions":[{"lang":"en","value":"A vulnerability has been reported to affect earlier QNAP devices running QTS 4.3.4 to 4.3.6. Caused by improper limitations of a pathname to a restricted directory, this vulnerability allows for renaming arbitrary files on the target system, if exploited. QNAP have already fixed this vulnerability in the following versions: QTS 4.3.6.0895 build 20190328 (and later) QTS 4.3.4.0899 build 20190322 (and later) This issue does not affect QTS 4.4.x or QTS 4.5.x."}],"affected":[{"vendor":"QNAP Systems Inc.","product":"QTS","versions":[{"version":"unspecified","status":"affected","lessThan":"4.3.6.0895","versionType":"custom"}],"platforms":["build 20190328"]},{"vendor":"QNAP Systems Inc.","product":"QTS","versions":[{"version":"unspecified","status":"affected","lessThan":"4.3.4.0899","versionType":"custom"}],"platforms":["build 20190322"]},{"vendor":"QNAP Systems Inc.","product":"QTS","versions":[{"version":"4.5.x","status":"unaffected"},{"version":"4.4.x","status":"unaffected"}]}],"references":[{"url":"https://www.qnap.com/zh-tw/security-advisory/qsa-20-21","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-73","description":"CWE-73 External Control of File Name or Path","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-284","description":"CWE-284 Improper Access Control","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"qnap","dateUpdated":"2020-12-31T16:33:27.000Z","orgId":"2fd009eb-170a-4625-932b-17a53af1051f"},"credits":[{"lang":"en","value":"Independent Security Evaluators"}],"datePublic":"2020-12-30T00:00:00.000Z","solutions":[{"lang":"en","value":"QNAP have already fixed this vulnerability in the following versions:\n\nQTS 4.3.6.0895 build 20190328 (and later)\nQTS 4.3.4.0899 build 20190322 (and later)\nThis issue does not affect QTS 4.4.x or QTS 4.5.x."}],"source":{"advisory":"QSA-20-21","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@qnap.com","DATE_PUBLIC":"2020-12-30T02:55:00.000Z","ID":"CVE-2018-19945","STATE":"PUBLIC","TITLE":"Improper Limitation of a Pathname to a Restricted Directory in QTS"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"QTS","version":{"version_data":[{"platform":"build 20190328","version_affected":"<","version_value":"4.3.6.0895"},{"platform":"build 20190322","version_affected":"<","version_value":"4.3.4.0899"},{"version_affected":"!","version_value":"4.5.x"},{"version_affected":"!","version_value":"4.4.x"}]}}]},"vendor_name":"QNAP Systems Inc."}]}},"credit":[{"lang":"eng","value":"Independent Security Evaluators"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A vulnerability has been reported to affect earlier QNAP devices running QTS 4.3.4 to 4.3.6. Caused by improper limitations of a pathname to a restricted directory, this vulnerability allows for renaming arbitrary files on the target system, if exploited. QNAP have already fixed this vulnerability in the following versions: QTS 4.3.6.0895 build 20190328 (and later) QTS 4.3.4.0899 build 20190322 (and later) This issue does not affect QTS 4.4.x or QTS 4.5.x."}]},"generator":{"engine":"Vulnogram 0.0.9"},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20 Improper Input Validation"}]},{"description":[{"lang":"eng","value":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]},{"description":[{"lang":"eng","value":"CWE-73 External Control of File Name or Path"}]},{"description":[{"lang":"eng","value":"CWE-284 Improper Access Control"}]}]},"references":{"reference_data":[{"name":"https://www.qnap.com/zh-tw/security-advisory/qsa-20-21","refsource":"MISC","url":"https://www.qnap.com/zh-tw/security-advisory/qsa-20-21"}]},"solution":[{"lang":"en","value":"QNAP have already fixed this vulnerability in the following versions:\n\nQTS 4.3.6.0895 build 20190328 (and later)\nQTS 4.3.4.0899 build 20190322 (and later)\nThis issue does not affect QTS 4.4.x or QTS 4.5.x."}],"source":{"advisory":"QSA-20-21","discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.qnap.com/zh-tw/security-advisory/qsa-20-21","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T11:51:17.544Z"}}]}}}