| Title | goshsにおける情報漏えいに関する脆弱性 |
|---|---|
| Summary | goshsはGoで書かれたSimpleHTTPServerです。バージョン2.0.0-beta.4から2.0.0-beta.5にかけて、グローバルなベーシック認証が有効になっていないサーバーの展開時に、goshsはパブリックコラボレーターフィードを通じてファイルベースのACL認証情報を漏洩していました。.goshs-protectedフォルダへのリクエストは認証が適用される前にログに記録され、コラボレーターのWebSocketはAuthorizationを含む生のリクエストヘッダーをブロードキャストします。認証されていない第三者は被害者のフォルダ特有のベーシック認証ヘッダーを取得し、それをリプレイして保護されたサブツリー内のファイルを読み取ったり、アップロード、上書き、削除したりすることが可能でした。この脆弱性はバージョン2.0.0-beta.6で修正されました。 |
| Possible impacts | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | April 21, 2026, midnight |
| Registration Date | April 30, 2026, 12:28 p.m. |
| Last Update | April 30, 2026, 12:28 p.m. |
| CVSS3.0 : 重要 | |
| Score | 8.8 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| goshs |
| goshs 2.0.0 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年04月30日] 掲載 |
April 30, 2026, 12:28 p.m. |
| Summary | goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs leaks file-based ACL credentials through its public collaborator feed when the server is deployed without global basic auth. Requests to .goshs-protected folders are logged before authorization is enforced, and the collaborator websocket broadcasts raw request headers, including Authorization. An unauthenticated observer can capture a victim's folder-specific basic-auth header and replay it to read, upload, overwrite, and delete files inside the protected subtree. This vulnerability is fixed in 2.0.0-beta.6. |
|---|---|
| Publication Date | April 22, 2026, 5:17 a.m. |
| Registration Date | April 25, 2026, 4:03 a.m. |
| Last Update | April 27, 2026, 11:51 p.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:* | |||||
| cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:* | |||||