Debian DSA-3440-1:sudo - 安全性更新

high Nessus Plugin ID 87852

概要

遠端 Debian 主機缺少安全性更新。

說明

當將 sudo 設定為允許使用者編輯其已經可在不使用 sudo 的情況下寫入之目錄下的檔案時,他們實際上可以編輯 (讀取與寫入) 任意檔案。Daniel Svartman 報告,如果使用萬用字元指定可編輯檔案,可能會意外引入類似於此的組態,例如:

運算子 ALL=(root) sudoedit /home/*/*/test.txt

sudo 的預設行為已變更,因此其不允許編輯使用者可寫入之目錄中的檔案,或可藉由前往使用者可寫入之目錄中的符號連結到達的檔案。可以停用這些限制,但並不建議這樣做。

解決方案

升級 sudo 套件。

針對舊的穩定發行版本 (wheezy),此問題已在 1.8.5p2-1+nmu3+deb7u1 版本中修正。

針對穩定的發行版本 (jessie),此問題已在 1.8.10p3-1+deb8u3 版本中修正。

另請參閱

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804149

https://packages.debian.org/source/wheezy/sudo

https://packages.debian.org/source/jessie/sudo

https://www.debian.org/security/2016/dsa-3440

Plugin 詳細資訊

嚴重性: High

ID: 87852

檔案名稱: debian_DSA-3440.nasl

版本: 2.6

類型: local

代理程式: unix

已發布: 2016/1/12

已更新: 2021/1/11

支援的感應器: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

風險資訊

VPR

風險因素: High

分數: 7.3

CVSS v2

風險因素: High

基本分數: 7.2

時間性分數: 5.6

媒介: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:sudo, cpe:/o:debian:debian_linux:7.0, cpe:/o:debian:debian_linux:8.0

必要的 KB 項目: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2016/1/11

參考資訊

CVE: CVE-2015-5602

DSA: 3440