← Back to CVEs
CVE-2020-27304
CRITICAL9.8
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
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published10/21/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
civetweb_project:civetwebsiemens:sinec_infrastructure_network_services
Weaknesses (CWE)
CWE-23CWE-22
References
https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ(vuln@vdoo.com)
https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/(vuln@vdoo.com)
https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf(af854a3a-2127-422b-91ae-364da2661108)
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf(af854a3a-2127-422b-91ae-364da2661108)
https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ(af854a3a-2127-422b-91ae-364da2661108)
https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.