Advisory

GHSA-9xfw-jjq2-7v8h

Also known as: CVE-2024-24768, GO-2024-2531

Summary

1Panel set-cookie is missing the Secure keyword

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-02-05 20:19 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/1Panel-dev/1Panel

Go · All systems

Affected

  • introduced 0, fixed 1.9.6 (semver)

Fixed versions

1.9.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences