CVE-2020-27304

CRITICALCVSS 9.8/10EPSS 3.14%

Last modified

CVE-2020-27304 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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 estimates a 3.14% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
3.14%

86.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Civetweb ProjectCivetweb>= 1.8, < 1.15
SiemensSinec Infrastructure Network Services< 1.0.1.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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
How severe is CVE-2020-27304?
CVE-2020-27304 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 3.14% probability of exploitation in the next 30 days.
How do I fix CVE-2020-27304?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-27304?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST