CVE-2020-27304 Details
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 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf | CVE | |
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | CVE | PatchThird Party Advisory |
| https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ | CVE | Mailing ListThird Party Advisory |
| https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/ | CVE | ExploitThird Party Advisory |
| https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf | [email protected] | |
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | [email protected] | PatchThird Party Advisory |
| https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ | [email protected] | Mailing ListThird Party Advisory |
| https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-23 | Relative Path Traversal | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| civetweb project civetweb | >= 1.8, < 1.15 |
CPE
Remediation
| |
| siemens sinec infrastructure network services | < 1.0.1.1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 14, 2022 | CVE Modified | [email protected] |
| Apr 18, 2022 | Modified Analysis | [email protected] |
| Mar 10, 2022 | CVE Modified | [email protected] |
| Oct 28, 2021 | Initial Analysis | [email protected] |