Spugで認証済みの一般ユーザーにSSH秘密鍵が読み取られる脆弱性
Summary
Spug 4.1.1より前のバージョンには、認証済みの一般ユーザーが GET /api/host/ を通じてホストごとのSSH秘密鍵を読み取れる脆弱性があります。読み取った鍵でSSHログインでき、権限を取り消された後もSpugの権限管理や監査記録を回避される恐れがあります。修正版はSpug 4.1.1です。CVSSv3は6.5、CVSSv4は7.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.
Spug 4.1.1より前のバージョンには、認証済みの一般ユーザーが GET /api/host/ を通じてホストごとのSSH秘密鍵を読み取れる脆弱性があります。読み取った鍵でSSHログインでき、権限を取り消された後もSpugの権限管理や監査記録を回避される恐れがあります。修正版はSpug 4.1.1です。CVSSv3は6.5、CVSSv4は7.1です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openspugspug |
< 4.1.1→ 4.1.1 |
4.1.1 |
Original description The description as published by the source.
Spug before 4.1.1 contains an information disclosure vulnerability that allows authenticated non-administrator users to read per-host SSH private keys through the GET /api/host/ endpoint. Users granted a host can read the cleartext pkey field returned by Host.to_view and log in directly over SSH, bypassing Spug's permissions and audit trail even after revocation.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com