CWE
22 23
Advisory Published
Updated

CVE-2020-27304: Path Traversal

First published: Mon Oct 18 2021(Updated: )

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

Credit: vuln@vdoo.com

Affected SoftwareAffected VersionHow to fix
Civetweb Project Civetweb>=1.8<1.15
Siemens Sinec Infrastructure Network Services<1.0.1.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2020-27304?

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

  • 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.

  • What is the severity of CVE-2020-27304?

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

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203