CVE-2024-30257
JSON

3.9low

1Panel's password verification is suspected to have a timing attack vulnerability

Severity
3.9low CVSS:3.1 by GitHub_M
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6m9h-2pr2-9j8fGO-2024-2734

Description

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.

Affected

Product or packageVersionsReported by
1Panel-dev 1Panel< 1.10.3-ltsCVE List
fit2cloud 1panel1.10.2, before 1.10.3-ltsCVE List, NVD
github.com/1Panel-dev/1Panel (Go)before 1.10.3, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M3.9low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
GitHub5.9low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-203

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

Go Vulnerability Database

1Panel's password verification is suspected to have a timing attack vulnerability in github.com/1Panel-dev/1Panel.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/1Panel-dev/1Panel before v1.10.3.

NVD (es)

1Panel es un panel de gestión de operación y mantenimiento de servidores Linux de código abierto. La verificación de contraseña en el código fuente utiliza el símbolo! = en lugar de hmac.Equal. Esto puede provocar una vulnerabilidad de ataque sincronizado. Esta vulnerabilidad se solucionó en 1.10.3-lts.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-30257 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-6m9h-2pr2-9j8f changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2734 changed 2024-07-09CC-BY-4.0
NVDCVE-2024-30257 changed 2026-06-17Public domain