CVEvulnerability
CVE-2020-27304
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-10-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-22, CWE-23
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
Affected configurations
• civetweb project civetweb (>= 1.8 < 1.15)
• siemens sinec infrastructure network services (< 1.0.1.1)
Related
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Patch, Third Party Advisory
- https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ Mailing List, Third Party Advisory
- https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/ Exploit, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Patch, Third Party Advisory
- https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ Mailing List, Third Party Advisory
- https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/ Exploit, Third Party Advisory