{"id":"CVE-2020-27304","published":"2021-10-21T15:42:23Z","modified":"2024-08-04T16:11:36Z","title":"The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the…","vendor":"civetweb_project","product":"civetweb","tier":"tail","description":{"text":"The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file upload mechanism, via the mg_handle_form_request API. Web applications that use the file upload form handler, and use parts of the user-controlled filename in the output path, are susceptible to directory traversal","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03268,"percentile":0.88397,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ","tags":["x_refsource_MISC"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":17.68}]},"vendorSlug":"civetweb-project","affectedVersions":[{"vendor":"civetweb_project","product":"civetweb","versions":[">= 1.8, < unspecified"]}],"euvd":{"id":"EUVD-2020-19817","exploited":false,"provenance":"source"}}