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

Published Feb 5, 2024
·
Updated

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

2 affected componentsFixes available
go/github.com/1Panel-dev/1Panel<=1.9.5
1.9.6
FIT2CLOUD 1Panel=1.9.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/1Panel-dev/1Panel to a version that resolves this vulnerability.

    Fixed in 1.9.6
  2. Upgrade

    Upgrade 1Panel to a version that resolves this vulnerability.

    Fixed in 1.9.6

Event History

Feb 5, 2024
CVE Published
via MITRE·03:07 PM
Data Sourced
via MITRE·03:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·08:19 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

Which software is affected by CVE-2024-24768?

CVE-2024-24768 affects the 1Panel software, specifically version 1.9.5 and earlier.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203