CVE-2024-30257: 1Panel's password verification is suspected to have a timing attack vulnerability

Published Apr 18, 2024
·
Updated

Summary 源码中密码校验处使用 != 符号,而不是hmac.Equal,这可能导致产生计时攻击漏洞,从而爆破密码。 建议使用 hmac.Equal 比对密码。

Translation:

The source code uses the != symbol instead of hmac.Equal for password verification, which may lead to timing attack vulnerabilities that can lead to password cracking. It is recommended to use hmac. Equal to compare passwords.

Details https://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26

Impact 该产品的所有使用者。

Translation:

All users of this product.

Other sources

1Panel is an open source Linux server operation and maintenance management panel. The password verification in the source code uses the != symbol instead hmac.Equal. This may lead to a timing attack vulnerability. This vulnerability is fixed in 1.10.3-lts.

MITRE

Affected Software

2 affected componentsFixes available
go/github.com/1Panel-dev/1Panel<1.10.3
1.10.3
FIT2CLOUD 1Panel<1.10.3-lts

Event History

Apr 18, 2024
CVE Published
via MITRE·02:56 PM
Data Sourced
via MITRE·02:56 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·04:44 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-30257?

CVE-2024-30257 is classified as a medium severity vulnerability due to the risk of timing attacks affecting password security.

2

How do I fix CVE-2024-30257?

To fix CVE-2024-30257, modify the password comparison to use `hmac.Equal` instead of the `!=` symbol.

3

Who is affected by CVE-2024-30257?

All users of versions up to and including 1.10.3 of the 1Panel software are affected by CVE-2024-30257.

4

What type of attack does CVE-2024-30257 enable?

CVE-2024-30257 enables timing attacks that can facilitate password brute-forcing.

5

Which software versions are vulnerable to CVE-2024-30257?

The vulnerable versions of the software are all versions prior to 1.10.3 of the 1Panel package.

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