boneIO Blackに権限昇格の脆弱性、ローカルから root 権限を奪われるおそれ
Summary
boneIO Blackには、ローカルの攻撃者が一時ファイルの競合状態を悪用し、sudoers規則を不正に差し込んでroot権限を得られる脆弱性があります。影響を受けるのは1.3.0以降1.6.0未満のboneIOで、1.6.0で修正されています。1.6.0以降の版へ更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
boneIO Blackには、ローカルの攻撃者が一時ファイルの競合状態を悪用し、sudoers規則を不正に差し込んでroot権限を得られる脆弱性があります。影響を受けるのは1.3.0以降1.6.0未満のboneIOで、1.6.0で修正されています。1.6.0以降の版へ更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| boneIO | boneIO |
≥ 1.3.0, < 1.6.0 |
1.6.0 |
Original description The description as published by the source.
boneIO Black contains a TOCTOU race condition in the create_timedatectl_sudoers_file() function in boneio/webui/routes/timezone_sudoers.py. The function writes sudoers rules to a predictable temporary file, validates them, then installs them with root privileges. A local attacker can exploit the race window between validation and installation to substitute malicious content, or use the predictable filename for symlink attacks, resulting in arbitrary sudoers rule injection and local privilege escalation to root.
This issue was fixed in version 1.6.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web cvd@cert.pl
- web cvd@cert.pl
- web nvd.nist.gov
- web github.com