{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-27304","id":"CVE-2020-27304","title":"The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using th…","description":"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","descriptionLong":"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","published":"2021-10-21T15:42:23.000Z","updated":"2026-10-24T10:30:31.088480494Z","reserved":"2020-10-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"VDOO","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["civetweb_project civetweb"],"affectedProducts":[{"vendor":"civetweb_project","product":"civetweb","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"unaffected","version":"1.15","versionType":"custom"},{"lessThan":"unspecified","status":"affected","version":"1.8","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-23","CWE-22"],"aliases":[],"references":[{"url":"https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","tags":["x_refsource_CONFIRM","x_transferred","web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03268,"epssPercentile":0.88665,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-27304","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27304","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-27304","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-27304","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}