Описание
1Panel set-cookie is missing the Secure keyword
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
Пакеты
github.com/1Panel-dev/1Panel
<= 1.9.5
1.9.6
Связанные уязвимости
1Panel is an open source Linux server operation and maintenance management panel. 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 if accessed using HTTP. This issue has been patched in version 1.9.6.