CVE-2024-24768
LOW3.5EPSS 0.06%1Panel set-cookie is missing the Secure keyword
Published: 2/5/2024Modified: 1/20/2025
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
Affected packages (2)
- Go/github.com/1Panel-dev/1Panelfrom 0, < 1.9.6
- Go/github.com/1Panel-dev/1Panelfrom 0, < 1.9.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-24768
- PATCHhttps://github.com/1Panel-dev/1Panel
- WEBhttps://github.com/1Panel-dev/1Panel/commit/1169648162c4b9b48e0b4aa508f9dea4d6bc50d5
- WEBhttps://github.com/1Panel-dev/1Panel/pull/3817
- WEBhttps://github.com/1Panel-dev/1Panel/security/advisories/GHSA-9xfw-jjq2-7v8h