1Panel set-cookie is missing the Secure keyword
Description
Published by the National Vulnerability Database
Feb 5, 2024
Published to the GitHub Advisory Database
Feb 5, 2024
Reviewed
Feb 5, 2024
Last updated
Feb 13, 2024
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
References