| タイトル | goshsにおける重要な機能に対する認証の欠如に関する脆弱性 |
|---|---|
| 概要 | goshsはGoで書かれたSimpleHTTPServerです。2.0.0-beta.6以前のバージョンには、ドキュメントに記載されている空のユーザー名のBasic認証構文を使用した場合に、SFTP認証バイパスの脆弱性が存在していました。サーバーが -b ':pass' オプションと -sftp オプションを一緒に指定して起動された場合、goshsはその設定を受け入れますが、SFTPのパスワードハンドラーをインストールしません。その結果、認証されていないネットワーク攻撃者がSFTPサービスに接続してパスワードなしでファイルにアクセスできてしまいます。この脆弱性は2.0.0-beta.6で修正されています。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年4月21日0:00 |
| 登録日 | 2026年4月30日12:28 |
| 最終更新日 | 2026年4月30日12:28 |
| CVSS3.0 : 緊急 | |
| スコア | 9.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| goshs |
| goshs 2.0.0 |
| goshs 2.0.0 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年04月30日] 掲載 |
2026年4月30日12:28 |
| 概要 | goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP authentication bypass when the documented empty-username basic-auth syntax is used. If the server is started with -b ':pass' together with -sftp, goshs accepts that configuration but does not install any SFTP password handler. As a result, an unauthenticated network attacker can connect to the SFTP service and access files without a password. This vulnerability is fixed in 2.0.0-beta.6. |
|---|---|
| 公表日 | 2026年4月22日5:17 |
| 登録日 | 2026年4月25日4:03 |
| 最終更新日 | 2026年4月27日23:55 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:* | 2.0.0 | ||||
| cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:* | |||||
| cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:* | |||||
| cpe:2.3:a:goshs:goshs:2.0.0:beta3:*:*:*:go:*:* | |||||
| cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:* | |||||
| cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:* | |||||