{"id":"GHSA-9xfw-jjq2-7v8h","summary":"1Panel set-cookie is missing the Secure keyword","details":"### Summary\nThe 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.\n\nhttps://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Set-Cookie#secure\n\n### PoC\nDirectly 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\n\n### Impact\nEveryone who has configured the panel https\n","aliases":["CVE-2024-24768","GO-2024-2531"],"modified":"2026-09-10T03:50:06.248783564Z","published":"2024-02-05T20:19:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-02-05T20:19:30Z","nvd_published_at":"2024-02-05T15:15:09Z","cwe_ids":["CWE-311","CWE-315"],"severity":"LOW"},"references":[{"type":"WEB","url":"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-9xfw-jjq2-7v8h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24768"},{"type":"WEB","url":"https://github.com/1Panel-dev/1Panel/pull/3817"},{"type":"WEB","url":"https://github.com/1Panel-dev/1Panel/commit/1169648162c4b9b48e0b4aa508f9dea4d6bc50d5"},{"type":"PACKAGE","url":"https://github.com/1Panel-dev/1Panel"}],"affected":[{"package":{"name":"github.com/1Panel-dev/1Panel","ecosystem":"Go","purl":"pkg:golang/github.com/1Panel-dev/1Panel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.6"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.9.5","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-9xfw-jjq2-7v8h/GHSA-9xfw-jjq2-7v8h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"}]}