CVE-2020-27304
civetweb: directory traversal when using the built-in example HTTP form-based file upload mechanism via the mg_handle_form_request API
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Azure Linux, Photon OS. Más baja según Red Hat (alta).
Descripción
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
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| Azure Linux 3.0 | ceph | 0:18.2.1-1.azl3 |
| Photon OS 3.0 | falco | 0.31.1-1.0419283003.ph3 |
| Photon OS 4.0 | falco, falco-devel | 0.35.0-1.0510180001.ph4 |
| debian 11 | civetweb | sin corrección indicada |
| debian 12 | civetweb | 1.15+dfsg-1 |
| debian 13 | civetweb | 1.15+dfsg-1 |
| debian 14 | civetweb | 1.15+dfsg-1 |
| echo | civetweb | 1.15+dfsg-1 |
| Red Hat | ceph, ceph-base, ceph-common y 27 más | sin corrección indicada |
Mostrar las 39 entradas de 9 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| Azure Linux 3.0 | ceph | 0:18.2.1-1.azl3 |
| Photon OS 3.0 | falco | 0.31.1-1.0419283003.ph3 |
| Photon OS 4.0 | falco | 0.35.0-1.0510180001.ph4 |
| Photon OS 4.0 | falco-devel | 0.35.0-1.0510180001.ph4 |
| debian 11 | civetweb | sin corrección indicada |
| debian 12 | civetweb | 1.15+dfsg-1 |
| debian 13 | civetweb | 1.15+dfsg-1 |
| debian 14 | civetweb | 1.15+dfsg-1 |
| echo | civetweb | 1.15+dfsg-1 |
| Red Hat | ceph | sin corrección indicada |
| Red Hat | ceph-base | sin corrección indicada |
| Red Hat | ceph-common | sin corrección indicada |
| Red Hat | ceph-fuse | sin corrección indicada |
| Red Hat | ceph-mds | sin corrección indicada |
| Red Hat | ceph-mgr | sin corrección indicada |
| Red Hat | ceph-mon | sin corrección indicada |
| Red Hat | ceph-osd | sin corrección indicada |
| Red Hat | ceph-radosgw | sin corrección indicada |
| Red Hat | ceph-selinux | sin corrección indicada |
| Red Hat | ceph-test | sin corrección indicada |
| Red Hat | libcephfs-devel | sin corrección indicada |
| Red Hat | libcephfs1 | sin corrección indicada |
| Red Hat | libcephfs1-devel | sin corrección indicada |
| Red Hat | libcephfs2 | sin corrección indicada |
| Red Hat | librados-devel | sin corrección indicada |
| Red Hat | librados2 | sin corrección indicada |
| Red Hat | librados2-devel | sin corrección indicada |
| Red Hat | libradosstriper1 | sin corrección indicada |
| Red Hat | librbd-devel | sin corrección indicada |
| Red Hat | librbd1 | sin corrección indicada |
| Red Hat | librbd1-devel | sin corrección indicada |
| Red Hat | librgw-devel | sin corrección indicada |
| Red Hat | librgw2 | sin corrección indicada |
| Red Hat | librgw2-devel | sin corrección indicada |
| Red Hat | python-cephfs | sin corrección indicada |
| Red Hat | python-rados | sin corrección indicada |
| Red Hat | python-rbd | sin corrección indicada |
| Red Hat | python-rgw | sin corrección indicada |
| Red Hat | rbd-mirror | sin corrección indicada |
Referencias
- https://access.redhat.com/security/cve/CVE-2020-27304
- 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://nvd.nist.gov/vuln/detail/CVE-2020-27304
- https://www.cve.org/CVERecord?id=CVE-2020-27304