CVE-2020-27304Civetweb Project Civetweb
Critical 9.8 No auth needed
Follow: this CVE · Civetweb Project · Civetweb Project Civetweb We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Oct 21, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Civetweb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| civetweb_project | civetweb | ≥ 1.8 < 1.15 |
| siemens | sinec_infrastructure_network_services | < 1.0.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com
- cert-portal.siemens.com Patch Third Party Advisory
- groups.google.com Mailing List Third Party Advisory
- jfrog.com Exploit Third Party Advisory