CVE-2018-20303

CVSS V2 Medium 5 CVSS V3 High 7.5
Description
In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessions on the server, a similar issue to CVE-2018-18925.
Overview
  • CVE ID
  • CVE-2018-20303
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2018-12-20T00:29:00
  • Last Modified Date
  • 2019-01-31T19:02:30
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* 1 OR 0.11.82.1218
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 7.5
  • Base Severity
  • HIGH
  • Exploitability Score
  • 3.9
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://pentesterlab.com/exercises/cve-2018-18925/ Exploit Third Party Advisory
https://github.com/gogs/gogs/issues/5558 Issue Tracking Patch Third Party Advisory
https://github.com/gogs/gogs/commit/ff93d9dbda5cebe90d86e4b7dfb2c6b8642970ce Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 07:59:46 Added to TrackCVE
2022-12-03 15:30:35 2018-12-20T00:29Z 2018-12-20T00:29:00 CVE Published Date updated
2022-12-03 15:30:35 2019-01-31T19:02:30 CVE Modified Date updated
2022-12-03 15:30:35 Analyzed Vulnerability Status updated