CVE-2020-27304

Critical

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

SeverityCritical
CVSS9.8
Exploit probability—
ProductCivetweb
PublishedOct 21, 2021
First seenOct 21, 2021
Weakness typeCWE-23CWE-23

How to fix

Update
  • civetweb_project civetweb1.15 or later
  • siemens sinec_infrastructure_network_services1.0.1.1 or later

Affected products

ProductAffected versionsFixed in
civetweb_project civetweb1.8 ≤ v < 1.151.15
siemens sinec_infrastructure_network_servicesv < 1.0.1.11.0.1.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.