Coderにセッショントークンが漏えいする脆弱性、テンプレート経由で攻撃の恐れ
Summary
Coderでは、悪意のあるテンプレートの作成者がセッショントークンを盗めるおそれがあります。coder open appがテンプレートで定義された外部アプリのURLに$SESSION_TOKENを検証なしに埋め込むため、利用者のトークンが攻撃者のサーバーに送られます。影響を受けるのは2.39.0以降2.39.1未満などの版で、修正版の2.39.1に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Coderでは、悪意のあるテンプレートの作成者がセッショントークンを盗めるおそれがあります。coder open appがテンプレートで定義された外部アプリのURLに$SESSION_TOKENを検証なしに埋め込むため、利用者のトークンが攻撃者のサーバーに送られます。影響を受けるのは2.39.0以降2.39.1未満などの版で、修正版の2.39.1に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| codercoder |
≥ 2.39.0, < 2.39.1→ 2.39.1 |
2.39.1 |
Original description The description as published by the source.
Coder 2.29.17 before 2.29.27, 2.32.7 before 2.33.0, 2.33.8 before 2.34.0, 2.34.2 before 2.34.19, 2.35.0 before 2.37.11, 2.38.0 before 2.38.7, and 2.39.0 before 2.39.1 contains a credential exposure vulnerability that allows malicious template authors to steal session tokens because coder open app substitutes $SESSION_TOKEN into template-defined external app URLs without validating scheme or destination. Attackers can define an external app URL or IDE link pointing to an attacker server so users running coder open app leak their token, enabling impersonation of shared users or administrators.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com