CVEvulnerability

CVE-2018-18925

9.8 CRITICAL Published 2018-11-04 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-11-04
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-384

Description

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.

Affected configurations

• gogs gogs (<= 0.11.66)

Related

Weakness · CWE (1)

  • CWE-384 Session Fixation weakness

References