CVE-2024-24768 1Panel set-cookie is missing the Secure keyword

Medium 6.5 Published Updated

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.

Weakness: CWE-311, CWE-315

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.

PackageAffectedFixed in
github.com/1Panel-dev/1Panel GoAll versions1.9.6
github.com/1Panel-dev/1Panel GoAll versions1.9.6
github.com/1Panel-dev/1Panel GoAll versions1.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.

Sources

Also known as GHSA-9xfw-jjq2-7v8h, GO-2024-2531.

Is CVE-2024-24768 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free