CVE-2020-27304

Public Exploit

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

Categories

9.8
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.63%
Third-Party Advisory siemens.com Third-Party Advisory google.com Third-Party Advisory jfrog.com
Affected: civetweb_project civetweb
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2020-27304?
CVE-2020-27304 has been scored as a critical severity vulnerability.
How to fix CVE-2020-27304?
To fix CVE-2020-27304, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-27304 being actively exploited in the wild?
It is possible that CVE-2020-27304 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-27304?
CVE-2020-27304 affects civetweb_project civetweb.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.