github.com/1Panel-dev/1Panel
Affected
- introduced
0, fixed1.10.3(semver)
Fixed versions
1.10.3
Fix
- Fixed version
1.10.3go get github.com/1Panel-dev/[email protected]
Advisory
Also known as: CVE-2024-30257, GO-2024-2734
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.
Details
https://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26
Impact
该产品的所有使用者。
Translation:
All users of this product.
Low Basis: The source's own band: LOW
0, fixed 1.10.3 (semver)1.10.3
1.10.3go get github.com/1Panel-dev/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0