CVE-2020-27304
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| civetweb_project | civetweb | 1.15 < unspecified | unaffected |
| civetweb_project | civetweb | 1.8 < unspecified | affected |
Weaknesses
- CWE-23: CWE-23
ADP Enrichment
CVE Program Container
Additional References
- https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/
- https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
References
- https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/
- https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.