Apache Tomcat allowLinking UTF-8 遍歷任意檔案存取

medium Nessus Plugin ID 33866

語系:

概要

遠端 Web 伺服器受到目錄遊走弱點影響。

說明

遠端主機上執行的 Apache Tomcat 版本受到一個目錄遍歷弱點影響,這是因為基礎 JVM 中的 UTF-8 字元集實作所致。若要惡意利用此弱點,未經驗證的遠端攻擊者可以在要求中將目錄遍歷序列編碼為 UTF-8,以檢視遠端主機上的任意檔案。

請注意,成功惡意利用需將上下文配置為將 'allowLinking' 設為 'true',且將連接器的 'URIEncoding' 集設為 'UTF-8' (兩者皆非預設設定)。

解決方案

升級至 Tomcat 6.0.18/5.5.27/4.1.SVN 或更新版本。

另請參閱

https://www.securityfocus.com/archive/1/495318/30/0/threaded

https://www.securityfocus.com/archive/1/496168/30/0/threaded

https://www.securityfocus.com/archive/1/499356/30/0/threaded

http://tomcat.apache.org/security-6.html

http://tomcat.apache.org/security-5.html

http://tomcat.apache.org/security-4.html

Plugin 詳細資訊

嚴重性: Medium

ID: 33866

檔案名稱: tomcat_utf8_dir_traversal.nasl

版本: 1.28

類型: remote

系列: CGI abuses

已發布: 2008/8/12

已更新: 2021/1/19

支援的感應器: Nessus

風險資訊

VPR

風險因素: Low

分數: 2.9

CVSS v2

風險因素: Medium

基本分數: 5

時間分數: 4.1

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

CVSS v3

風險因素: Medium

基本分數: 5.3

時間分數: 4.9

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

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

弱點資訊

CPE: cpe:/a:apache:tomcat

必要的 KB 項目: installed_sw/Apache Tomcat

排除在外的 KB 項目: Settings/disable_cgi_scanning

可輕鬆利用: No exploit is required

由 Nessus 利用: true

修補程式發佈日期: 2008/8/11

可惡意利用

CANVAS (D2ExploitPack)

Elliot (Apache Tomcat File Disclosure)

參考資訊

CVE: CVE-2008-2938

BID: 30633

CWE: 22