CVE-2020-27304
9.8
CRITICAL · CVSS 3.1 · EPSS 3.2% (pctl 88)
In your normal cycle
Critical by CVSS (9.8), but no sign of active exploitation.
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
Scoring
| CVSS | 9.8 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 3.24% — more likely to be exploited than 88% of all CVEs |
| Weakness | CWE-23 |
| On CISA KEV | no |
| Public exploit | none known |
| Published | 2021-10-21 |
| Last modified | 2026-06-17 |
Affected (2)
| Vendor | Product |
|---|---|
| civetweb project | civetweb |
| siemens | sinec infrastructure network services |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ
- https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ
- https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/
→ the Explorer · watch your stack · NVD