Path Traversal in Civetweb Project

CVE-2020-27304

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

EPSS: 0.032 (87.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-27304?
CVE-2020-27304 is a critical-severity vulnerability in Civetweb Project, classified under Relative Path Traversal. CVSS score: 9.8/10. Published 2021-10-21.
How severe is CVE-2020-27304?
Critical severity. CVSS v3 base score is 9.8 out of 10.