iTerm2に細工されたURLで任意のコマンドを実行される脆弱性
Summary
iTerm2の3.7.7beta2より前のバージョンには、x-man-page:のURLを処理する際の引数インジェクションの脆弱性があります。細工されたURLを開くとログイン中のユーザーの権限で任意のコマンドを実行される可能性があり、CVSS v4.0の基本値は8.7です。修正版の3.7.7beta2以降に更新してください。
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.
iTerm2の3.7.7beta2より前のバージョンには、x-man-page:のURLを処理する際の引数インジェクションの脆弱性があります。細工されたURLを開くとログイン中のユーザーの権限で任意のコマンドを実行される可能性があり、CVSS v4.0の基本値は8.7です。修正版の3.7.7beta2以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| iTerm2iTerm2 |
< 3.7.7beta2→ 3.7.7beta2 |
3.7.7beta2 |
Original description The description as published by the source.
iTerm2 before 3.7.7beta2 has an argument injection vulnerability in the x-man-page: URL handler, allowing an attacker to execute arbitrary commands with the privileges of the logged-in user by inducing the user to open a crafted URL in iTerm2. Percent-encoded NUL characters survive input sanitization and are subsequently converted to whitespace during command-line parsing, allowing injection of additional arguments to /usr/bin/man. An attacker can inject the -P option to select an attacker-controlled pager command. NOTE: this issue exists because of an incomplete fix for CVE-2023-46321.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory iterm2.com
- advisory nvd.nist.gov
- advisory github.com
- package gitlab.com
- patch gitlab.com
- patch gitlab.com
- web github.com