Vulnerability identifier: #VU61251
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-22
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
CivetWeb
Universal components / Libraries /
Libraries used by multiple products
Vendor: civetweb
Description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences within the mg_handle_form_request API. A remote attacker can send a specially crafted HTTP request and upload arbitrary files on the system.
Mitigation
Install update from vendor's website.
Vulnerable software versions
CivetWeb: 1.8 - 1.14
External links
http://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/
http://groups.google.com/g/civetweb/c/yPBxNXdGgJQ
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.