GitHub Advisoryadvisory · Go

GHSA-9xfw-jjq2-7v8h 1Panel set-cookie is missing the Secure keyword

LOW Published 2024-02-05 Modified 2025-01-20 Official page ↗
Aliases
CVE-2024-24768
Ecosystem
Go
Packages
github.com/1Panel-dev/1Panel
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Weaknesses
CWE-311, CWE-315
Reviewed
2024-02-05

Affected packages

• Go github.com/1Panel-dev/1Panel: < 1.9.6 → fixed in 1.9.6

Description

Summary The https cookie that comes with the panel does not have the Secure keyword, which may cause the cookie to be sent in plain text when accessing http accidentally. https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Set-Cookie#secure PoC Directly configure https for the panel, and then capture the packet when logging in again and find that the cookie does not have the Secure keyword Impact Everyone who has configured the panel https

Related

Alias · CVE (1)

  • CVE-2024-24768 1Panel is an open source Linux server operation and maintenance management panel. vulnerability

Weakness · CWE (2)

  • CWE-311 Missing Encryption of Sensitive Data weakness
  • CWE-315 Cleartext Storage of Sensitive Information in a Cookie weakness

References