CVE-2024-24768: 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
Other sources
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.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/1Panel-dev/1Panelto a version that resolves this vulnerability.Fixed in 1.9.6 - Upgrade
Upgrade
1Panelto a version that resolves this vulnerability.Fixed in 1.9.6
Event History
Frequently Asked Questions
What is the severity of CVE-2024-24768?
CVE-2024-24768 is considered a moderate severity vulnerability due to the potential exposure of sensitive information in cookies.
How do I fix CVE-2024-24768?
To fix CVE-2024-24768, upgrade to version 1.9.6 or later of the affected software package.
Which software is affected by CVE-2024-24768?
CVE-2024-24768 affects the 1Panel software, specifically version 1.9.5 and earlier.
What does the lack of the Secure keyword in cookies mean in CVE-2024-24768?
The absence of the Secure keyword in cookies may allow them to be transmitted over unencrypted HTTP, exposing them to potential interception.
Is there a Proof of Concept for CVE-2024-24768?
Yes, a Proof of Concept for CVE-2024-24768 involves improperly configuring HTTP that may lead to cookie exposure.