CVE-2020-27304
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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
Overview
- CVE ID
- CVE-2020-27304
- Assigner
- vuln@vdoo.com
- Vulnerability Status
- Modified
- Published Version
- 2021-10-21T16:15:07
- Last Modified Date
- 2022-06-14T11:15:09
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:civetweb_project:civetweb:*:*:*:*:*:*:*:* | 1 | OR | 1.8 | 1.15 |
cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:* | 1 | OR | 1.0.1.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf | |
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | Patch Third Party Advisory |
https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ | Mailing List Third Party Advisory |
https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/ | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-27304 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27304 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:41:35 | Added to TrackCVE | |||
2022-12-05 13:01:11 | 2021-10-21T16:15Z | 2021-10-21T16:15:07 | CVE Published Date | updated |
2022-12-05 13:01:11 | 2022-06-14T11:15:09 | CVE Modified Date | updated | |
2022-12-05 13:01:11 | Modified | Vulnerability Status | updated | |
2022-12-05 13:01:15 | References | updated | ||
2022-12-30 23:12:41 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2022-12-30 23:12:42 | Weakness Enumeration | update | ||
2022-12-31 00:14:46 | Undergoing Analysis | Modified | Vulnerability Status | updated |