{"id":"CVE-2024-30257","aliases":["CVE-2024-30257","GHSA-6m9h-2pr2-9j8f","GO-2024-2734"],"related":[],"kind":"vulnerability","state":"published","title":"1Panel's password verification is suspected to have a timing attack vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n源码中密码校验处使用 != 符号，而不是`hmac.Equal`，这可能导致产生计时攻击漏洞，从而爆破密码。  \n建议使用 `hmac.Equal` 比对密码。\n\nTranslation:\n\nThe 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.\n\n### Details\nhttps://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26\n\n### Impact\n该产品的所有使用者。\n\nTranslation:\n\nAll users of this product.","format":"markdown","source":"ghsa"},{"lang":"en","text":"1Panel's password verification is suspected to have a timing attack vulnerability in github.com/1Panel-dev/1Panel.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/1Panel-dev/1Panel before v1.10.3.","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-04-18T14:56:56.270Z","modified":"2026-09-10T03:50:11.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","score":3.9,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","score":3.9,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-203"],"affected":[{"ranges":[{"version":"< 1.10.3-lts","status":"affected"}],"vendor":"1Panel-dev","product":"1Panel","source":"cvelist"},{"ranges":[{"version":"1.10.2","status":"affected"}],"vendor":"fit2cloud","product":"1panel","cpe":"cpe:2.3:a:fit2cloud:1panel:1.10.2:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.3"}],"ecosystem":"Go","package":"github.com/1Panel-dev/1Panel","purl":"pkg:golang/github.com/1Panel-dev/1Panel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/1Panel-dev/1Panel","purl":"pkg:golang/github.com/1Panel-dev/1Panel","source":"go"},{"ranges":[{"status":"affected","fixed":"1.10.3-lts"}],"vendor":"fit2cloud","product":"1panel","cpe":"cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-6m9h-2pr2-9j8f","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30257","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/1Panel-dev/1Panel","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-22T20:39:26.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-30257","url":"https://www.cve.org/CVERecord?id=CVE-2024-30257","licence":"CVE Terms of Use","modified":"2024-08-02T01:32:05.409Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6m9h-2pr2-9j8f","url":"https://github.com/advisories/GHSA-6m9h-2pr2-9j8f","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.157Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2734","url":"https://pkg.go.dev/vuln/GO-2024-2734","licence":"CC-BY-4.0","modified":"2024-07-09T19:33:56.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-30257","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30257","licence":"Public domain","modified":"2026-06-17T07:26:37.190Z"}],"updatedAt":"2026-11-25T22:58:39.454Z","epss":{"score":0.0038,"percentile":0.34127,"date":"2026-12-01T12:00:22.000Z"}}