Bugzilla – Bug 1191938
VUL-1: CVE-2020-27304: civetweb: missing uploaded filepath validation in the default form-based file upload mechanism
Last modified: 2022-05-18 13:20:24 UTC
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 References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27304 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27304 https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/ https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ
Affected packages: - openSUSE:Backports:SLE-15-SP2/civetweb 1.11 - openSUSE:Backports:SLE-15-SP3/civetweb 1.14 - openSUSE:Backports:SLE-15-SP4/civetweb 1.14 - openSUSE:Factory/civetweb 1.14 Please update them to a non-vulnerable version (>=1.15).
SR https://build.opensuse.org/request/show/926908 on the way to Factory
This is an autogenerated message for OBS integration: This bug (1191938) was mentioned in https://build.opensuse.org/request/show/926910 15.2 / civetweb https://build.opensuse.org/request/show/926911 15.3 / civetweb https://build.opensuse.org/request/show/926912 Backports:SLE-15-SP4 / civetweb
openSUSE-SU-2021:1424-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1191938 CVE References: CVE-2020-27304 JIRA References: Sources used: openSUSE Leap 15.2 (src): civetweb-1.15-lp152.2.3.1
As the updated version are already shipped I close the bug
This is an autogenerated message for OBS integration: This bug (1191938) was mentioned in https://build.opensuse.org/request/show/975222 15.3 / civetweb
openSUSE-SU-2022:0136-1: An update that fixes 15 vulnerabilities is now available. Category: security (moderate) Bug References: 1191938,1194547,1199047 CVE References: CVE-2020-27304,CVE-2021-4140,CVE-2022-22737,CVE-2022-22738,CVE-2022-22739,CVE-2022-22740,CVE-2022-22741,CVE-2022-22742,CVE-2022-22743,CVE-2022-22744,CVE-2022-22745,CVE-2022-22746,CVE-2022-22747,CVE-2022-22748,CVE-2022-22751 JIRA References: Sources used: openSUSE Leap 15.3 (src): MozillaFirefox-91.5.0-152.12.1, civetweb-1.15-lp153.2.3.1