CVE-2020-27304: Path Traversal

Published Oct 18, 2021
·
Updated

A remote code execution vulnerability was found in CivetWeb (embeddable web server/library). Due to a directory traversal issue, an attacker is able to add or overwrite files that are subsequently executed which lead to impact to confidentiality, integrity, and availability of the application.

Other sources

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 mghandleformrequest 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

Affected Software

3 affected componentsFixes available
redhat/CivetWeb<1.15
1.15
Civetweb Project Civetweb>=1.8<1.15
Siemens Sinec Infrastructure Network Services<1.0.1.1

Event History

Oct 18, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 21, 2021
CVE Published
via MITRE·03:42 PM
Data Sourced
via MITRE·03:42 PM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-27304?

CVE-2020-27304 is a remote code execution vulnerability found in CivetWeb (embeddable web server/library).

2

How does CVE-2020-27304 work?

CVE-2020-27304 allows an attacker to execute arbitrary code by not validating uploaded filepaths when using the built-in HTTP form-based file upload mechanism.

3

What is the severity of CVE-2020-27304?

CVE-2020-27304 has a severity rating of 9.8 (Critical).

4

Which software is affected by CVE-2020-27304?

CivetWeb version 1.15 and earlier, Civetweb Project Civetweb version 1.8 to 1.15, and Siemens Sinec Infrastructure Network Services version 1.0.1.1 are affected by CVE-2020-27304.

5

How can I remediate CVE-2020-27304?

Apply the recommended remedy of updating to CivetWeb version 1.15.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203