Sparkleにローカル権限昇格の脆弱性、ローカルユーザーが管理者権限を取得するおそれ
概要
Sparkle 2.2.0から2.9.6より前のバージョンには、シンボリックリンクを正しく検査しない脆弱性があります。ローカルの一般ユーザーが、管理者権限で動くアップデータの経路に細工したリンクを置くと、root権限でファイルの削除や作成が行われ、権限昇格につながるおそれがあります。修正版の2.9.6が公開されているため、2.9.6以降へのアップデートをおすすめします。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Sparkle 2.2.0から2.9.6より前のバージョンには、シンボリックリンクを正しく検査しない脆弱性があります。ローカルの一般ユーザーが、管理者権限で動くアップデータの経路に細工したリンクを置くと、root権限でファイルの削除や作成が行われ、権限昇格につながるおそれがあります。修正版の2.9.6が公開されているため、2.9.6以降へのアップデートをおすすめします。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| sparkle-projectSparkle |
2.2.0 以上 2.9.6 未満→ 2.9.6 |
2.9.6 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Sparkle 2.2.0 before 2.9.6 contains a link following vulnerability in -submitInstallerAtPath: in SUInstallerLauncher.m that builds a root updater's launcher cache path inside the console user's home directory and then deletes and creates items there without rejecting symbolic links. A local console user can pre-create that path as a symlink while a CLI tool or daemon updates a bundle as root, making root delete old files in a directory of the attacker's choosing and create a directory there that is chowned to the attacker, leading to privilege escalation.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com