Paper/Archive/CVE-2020-27304

CVE-2020-27304

civetweb_project civetweb — The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form…

Description · from the CVE record

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

ProductAffectedFixed inSource
civetweb1.8 – < unspecifiedunspecifiedCNA

Scores by source

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

References

refjfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-serverrefgroups.google.com/g/civetweb/c/yPBxNXdGgJQrefcert-portal.siemens.com/productcert/pdf/ssa-389290.pdfrefcert-portal.siemens.com/productcert/pdf/ssa-222547.pdf