BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-27304 in Civetweb Project Civetweb and 4 more products

Critical 9.8 Industrial / OT

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

Affects 5 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.19.8
EPSS3.3%
EPSS percentile89th

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Civetweb Project Civetweb ≥ 1.8, < 1.15
Siemens SINEC Infrastructure Network Services < 1.0.1.1
Siemens SINEC Ins < 1.0.1.1
Siemens SCALANCE LPE9403 (device and firmware) < 2.0

Fix and vendor advisory

  • SINEC INS: Update to V1.0.1.1 or later version

Source: ICSA-22-069-09

  • SCALANCE LPE9403: Update to V2.0 or later version

Source: ICSA-22-167-09

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2020-27304
BreachSpider IDBS-2021-GLOBAL-190245-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2021-10-21
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation for file uploads, ensuring that filenames do not contain directory traversal sequences. Use a whitelist approach to restrict allowed characters and paths.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.