Debian DSA-2333-1:phpldapadmin - 數個弱點

high Nessus Plugin ID 56672

概要

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

說明

在 phpLDAPadmin (用於管理 LDAP 伺服器的 Web 型介面) 中發現兩個弱點。Common Vulnerabilities and Exposures 專案發現下列問題:

- CVE-2011-4074 附加至 cmd.php 中 URL 的輸入 (當「cmd」設定為「_debug」時) 未經過正確清理,便傳回給使用者。這可能遭到惡意利用,在受影響網站內容中的使用者瀏覽器工作階段內,執行任意 HTML 和指令碼。

- CVE-2011-4075 傳遞至 cmd.php 中「orderby」參數的輸入 (當「cmd」設定為「query_engine」、「query」設定為「none」且「search」設定為「1」(範例) 時) 未先在 lib/functions.php 中經過正確清理,就在「create_function()」函式呼叫中使用。這可能遭到惡意利用,插入及執行任意 PHP 程式碼。

解決方案

升級 phpldapadmin 套件。

針對舊的穩定發行版本 (lenny),這些問題已在版本 1.1.0.5-6+lenny2 中修正。

針對穩定的發行版本 (squeeze),這些問題已在版本 1.2.0.5-2+squeeze1 中獲得修正。

另請參閱

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

https://security-tracker.debian.org/tracker/CVE-2011-4074

https://security-tracker.debian.org/tracker/CVE-2011-4075

https://packages.debian.org/source/squeeze/phpldapadmin

https://www.debian.org/security/2011/dsa-2333

Plugin 詳細資訊

嚴重性: High

ID: 56672

檔案名稱: debian_DSA-2333.nasl

版本: 1.19

類型: local

代理程式: unix

已發布: 2011/10/31

已更新: 2021/1/11

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

風險資訊

VPR

風險因素: High

分數: 7.4

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 6.2

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:phpldapadmin, cpe:/o:debian:debian_linux:5.0, cpe:/o:debian:debian_linux:6.0

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2011/10/31

弱點發布日期: 2011/11/2

可惡意利用

Core Impact

Metasploit (phpLDAPadmin query_engine Remote PHP Code Injection)

Elliot (phpLDAPadmin 1.2.1.1 RCE)

參考資訊

CVE: CVE-2011-4074, CVE-2011-4075

BID: 50331

DSA: 2333