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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.032 (88.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 88.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2020-27304: held from 0.032 to 0.032.

EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000

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.