Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The value of hashed-password can be used to open CodeServer directly, which has security problem

オープン
#7,696 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript

調査の方向性

まず、~/.config/code-server/config.yaml の auth 設定がどのように読み取られるか、またログインページ後に code-server-session Cookie がどのように検証されるかを追跡します。記載されている code-server コマンドと jupyter_server_proxy URL で動作を再現し、その後、hashed-password の値自体ではセッションを認証できないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug security triage
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: Chrome 143.0.7499.170
  • Local OS: windows
  • Remote OS: ubuntu 22.04, jupyterlab service
  • Remote Architecture: x86
  • code-server --version: v4.108.0
Steps to Reproduce
  1. prepare "hashed-password" using command echo -n "xxx" | npx argon2-cli -e
  2. edit ~/.config/code-server/config.yaml,auth: password, hashed-password:"$argon2i$v=19$m=4096,t=3,p=1$xxx$xxx"
  3. start code-server using command code-server --port 7756
  4. using jupyter_server_proxy to visit code-server service, concatenate a URL as https://base_url/proxy/7756/
  5. when the code-server login page occurs, skip input the xxx into the password area. F12 edit the application cookie, set key=code-server-session, value="$argon2i$v=19$m=4096,t=3,p=1$xxx$xxx", refresh the browser
Expected

Failed to login into the code-server. The hashed-password in the config.yaml should not be the plain credentials

Actual

successfully login into the code-server

主要言語
TypeScript
スター
79.4k
フォーク
6.9k
平均マージ
2日 13時間
マージ済み PR(30日)
39

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/code-server のほかの issue

coder/code-server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。