CVE-2024-30257: 1Panel's password verification is suspected to have a timing attack vulnerability
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.
Published Apr 18, 2024 · Updated Feb 11, 2025
Affected packages
github.com/1Panel-dev/1Panel
- Ecosystem
- Go
- Affected
- < 1.10.3
- Fixed in
- 1.10.3
- Check
go list -m github.com/1Panel-dev/1Panel
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2025-34410
1Panel contains a cross-site request forgery (CSRF) vulnerability in the Change Username functionality
high7.1No fixDec 10, 2025CVE-2025-34429
1Panel contains a cross-site request forgery (CSRF) vulnerability in the web port configuration functionality
high7.1No fixDec 10, 2025CVE-2025-34430
1Panel contains a cross-site request forgery (CSRF) vulnerability in the panel name management functionality
medium4.3No fixDec 10, 2025CVE-2025-66507
1Panel – CAPTCHA Bypass via Client-Controlled Flag
high7.5Dec 8, 2025CVE-2025-66508
1Panel IP Access Control Bypass via Untrusted X-Forwarded-For Headers
medium6.5Dec 8, 2025CVE-2024-39907
1Panel has an SQL injection issue related to the orderBy clause
critical9.8Jul 18, 2024
