Debian DSA-4164-1:apache2 - 安全性更新

critical Nessus Plugin ID 108816

概要

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

說明

在 Apache HTTPD 伺服器中發現數個弱點:- CVE-2017-15710 Alex Nichols 和 Jakob Hirsch 報告 mod_authnz_ldap 若有設定 AuthLDAPCharsetConfig,會導致在提供特製的 Accept-Language 標頭時造成超出邊界寫入。此問題可能會被用來引發拒絕服務攻擊。- CVE-2017-15715 Elar Lang 報告 <FilesMatch> 內指定的運算式可以將「$」與惡意檔案名稱中的新行字元比對,而不是只比對檔案名稱的結尾。這可能會在外部封鎖部分檔案上傳的環境中遭到惡意利用,但只能透過比對檔案名稱的結尾部分。- CVE-2018-1283 設定 mod_session 將工作階段資料轉送至 CGI 應用程式時 (啟用 SessionEnv,但並非預設設定),遠端使用者可透過使用「Session」標頭來影響其內容。- CVE-2018-1301 Robert Swiecki 報告特製的要求可能會損毀 Apache HTTP Server,這是因為在讀取 HTTP 標頭達到大小限制後造成超出邊界存取所致。- CVE-2018-1303 Robert Swiecki 報告如果使用 mod_cache_socache,特製的 HTTP 要求可能會損毀 Apache HTTP Server,這是因為準備在共用記憶體中快取資料時超出邊界讀取所致。- CVE-2018-1312 Nicolas Daniels 發現在產生 HTTP 摘要驗證查問時,未正確使用虛擬亂數種子產生 mod_auth_digest 為了防止重播攻擊所傳送的 nonce。在使用一般摘要驗證組態的伺服器叢集中,攻擊者可以在伺服器上重播 HTTP 要求,而不會被偵測到。

解決方案

升級 apache2 套件。針對舊的穩定發行版本 (jessie),這些問題已在 2.4.10-10+deb8u12 版本中修正。針對穩定的發行版本 (stretch),這些問題已在 2.4.25-3+deb9u4 版本中修正。

另請參閱

https://security-tracker.debian.org/tracker/CVE-2017-15710

https://security-tracker.debian.org/tracker/CVE-2017-15715

https://security-tracker.debian.org/tracker/CVE-2018-1283

https://security-tracker.debian.org/tracker/CVE-2018-1301

https://security-tracker.debian.org/tracker/CVE-2018-1303

https://security-tracker.debian.org/tracker/CVE-2018-1312

https://security-tracker.debian.org/tracker/source-package/apache2

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

https://packages.debian.org/source/stretch/apache2

https://www.debian.org/security/2018/dsa-4164

Plugin 詳細資訊

嚴重性: Critical

ID: 108816

檔案名稱: debian_DSA-4164.nasl

版本: 1.11

類型: local

代理程式: unix

已發布: 2018/4/4

已更新: 2018/11/13

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 6.8

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

CVSS v3

風險因素: Critical

基本分數: 9.8

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:apache2, cpe:/o:debian:debian_linux:8.0, cpe:/o:debian:debian_linux:9.0

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

修補程式發佈日期: 2018/4/3

參考資訊

CVE: CVE-2017-15710, CVE-2017-15715, CVE-2018-1283, CVE-2018-1301, CVE-2018-1303, CVE-2018-1312

DSA: 4164