Upstream information

CVE-2020-27304 at MITRE

Description

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

SUSE information

Overall state of this security issue: Does not affect SUSE products

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1191938 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
openSUSE Leap 15.2
  • civetweb >= 1.15-lp152.2.3.1
  • civetweb-devel >= 1.15-lp152.2.3.1
  • libcivetweb-cpp1_15_0 >= 1.15-lp152.2.3.1
  • libcivetweb1_15_0 >= 1.15-lp152.2.3.1
Patchnames:
openSUSE-2021-1424
openSUSE Leap 15.3
  • civetweb >= 1.15-lp153.2.3.1
  • civetweb-devel >= 1.15-lp153.2.3.1
  • libcivetweb-cpp1_15_0 >= 1.15-lp153.2.3.1
  • libcivetweb1_15_0 >= 1.15-lp153.2.3.1
Patchnames:
openSUSE-2022-136