CVE-2024-24768 1Panel set-cookie is missing the Secure keyword
Attackers can intercept session cookies sent over HTTP due to missing Secure flag, potentially leading to session hijacking.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-24768?
CVE-2024-24768 is a medium-severity vulnerability in 1Panel-dev 1Panel, published on 5 Feb 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2024-24768?
3 open source packages ship an affected version, including github.com/1Panel-dev/1Panel. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/1Panel-dev/1Panel Go | All versions | 1.9.6 |
github.com/1Panel-dev/1Panel Go | All versions | 1.9.6 |
github.com/1Panel-dev/1Panel Go | All versions | 1.9.6 |
Products include Fit2cloud 1panel.
How do I fix CVE-2024-24768?
Upgrade github.com/1Panel-dev/1Panel to 1.9.6 or later.
Is CVE-2024-24768 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24768 exists.
Other vulnerabilities in 1Panel-dev 1Panel
Sources
Also known as GHSA-9xfw-jjq2-7v8h, GO-2024-2531.