CentOS 7:git (RHSA-2020:1511)

high Nessus Plugin ID 136197

概要

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

說明

遠端 CentOS Linux 7 主機上安裝的套件受到 RHSA-2020:1511 公告中提及的弱點影響。

- 受影響的 Git 版本有一個弱點,可誘騙 Git 將私密憑證傳送至攻擊者控制的主機。Git 使用外部憑證協助程式來儲存和擷取作業系統提供的安全儲存中的密碼或其他憑證。包含編碼新行的特別建構 URL 可將非預定值插入憑證協助程式通訊協定資料流,造成憑證協助程式擷取一台伺服器 (例如 good.example.com) 的密碼,以向其他伺服器發出 HTTP 要求 (例如 evil.example.com),進而導致將前者的憑證傳送至後者。對兩者之間的關係沒有限制,這表示攻擊者可以特製 URL,將所儲存的任何主機憑證提供給他們選擇的主機。藉由提供惡意 URL 至 git clone 可觸發此弱點。不過,受影響的 URL 看起來相當可疑;可能的途徑會是自動複製對使用者不可見的 URL 的系統 (例如 Git 子模組),或是圍繞 Git 構建的套件系統。此問題已在 2020 年 4 月 14 日發佈的版本中得到修補,回溯至 v2.17.x 版本。希望進一步反向移植變更的所有使用者皆可套用 commit 9a6bbee (完整版本包含對 git fsck 的額外檢查,但該 commit 足以保護用戶端不受此弱點影響)。修補的版本為:2.17.4、2.18.3、2.19.4、2.20.3、2.21.2、2.22.3、2.23.2、2.24.2、2.25.3、2.26.1。
(CVE-2020-5260)

請注意,Nessus 並未測試此問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

更新受影響的套件。

另請參閱

https://access.redhat.com/errata/RHSA-2020:1511

Plugin 詳細資訊

嚴重性: High

ID: 136197

檔案名稱: centos_RHSA-2020-1511.nasl

版本: 1.4

類型: local

代理程式: unix

已發布: 2020/5/1

已更新: 2024/10/9

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

風險資訊

VPR

風險因素: Medium

分數: 4.4

Vendor

Vendor Severity: Important

CVSS v2

風險因素: Medium

基本分數: 5

時間性分數: 3.9

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

CVSS 評分資料來源: CVE-2020-5260

CVSS v3

風險因素: High

基本分數: 7.5

時間性分數: 6.7

媒介: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

時間媒介: CVSS:3.0/E:P/RL:O/RC:C

弱點資訊

CPE: p-cpe:/a:centos:centos:git-email, p-cpe:/a:centos:centos:emacs-git, p-cpe:/a:centos:centos:perl-git-svn, p-cpe:/a:centos:centos:git-daemon, p-cpe:/a:centos:centos:git-bzr, p-cpe:/a:centos:centos:git-instaweb, p-cpe:/a:centos:centos:gitk, p-cpe:/a:centos:centos:git-all, p-cpe:/a:centos:centos:git, p-cpe:/a:centos:centos:git-gnome-keyring, p-cpe:/a:centos:centos:emacs-git-el, p-cpe:/a:centos:centos:git-svn, p-cpe:/a:centos:centos:git-hg, p-cpe:/a:centos:centos:gitweb, p-cpe:/a:centos:centos:git-p4, p-cpe:/a:centos:centos:git-cvs, cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:perl-git, p-cpe:/a:centos:centos:git-gui

必要的 KB 項目: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list, Host/cpu

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2020/4/30

弱點發布日期: 2020/4/14

參考資訊

CVE: CVE-2020-5260

RHSA: 2020:1511