Sparkleにローカル権限昇格の脆弱性、ローカルユーザーが管理者権限を取得するおそれ
Summary
Sparkle 2.2.0から2.9.6より前のバージョンには、シンボリックリンクを正しく検査しない脆弱性があります。ローカルの一般ユーザーが、管理者権限で動くアップデータの経路に細工したリンクを置くと、root権限でファイルの削除や作成が行われ、権限昇格につながるおそれがあります。修正版の2.9.6が公開されているため、2.9.6以降へのアップデートをおすすめします。
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.
Sparkle 2.2.0から2.9.6より前のバージョンには、シンボリックリンクを正しく検査しない脆弱性があります。ローカルの一般ユーザーが、管理者権限で動くアップデータの経路に細工したリンクを置くと、root権限でファイルの削除や作成が行われ、権限昇格につながるおそれがあります。修正版の2.9.6が公開されているため、2.9.6以降へのアップデートをおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sparkle-projectSparkle |
≥ 2.2.0, < 2.9.6→ 2.9.6 |
2.9.6 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com